Commit graph

9 commits

Author SHA1 Message Date
Caleb Brose
57c73e8239
Add --repo filter to more gh codespaces commands (#6669)
* Add --repo flag to commands

* Example of using common args

* Add -r to stop

* Add validation to the add helper

* Skip prompt for single option

* Migrate (mostly) everything to addGetOrChooseCodespaceCommandArgs

* Fix typo in logsCmd

* Use R instead of r

* Update a couple -r usages

* Refactor to codespace_selector

* Clean up selector, apply it in a couple examples

* Use apiClient instead in constructor

* Restore addDeprecatedRepoShorthand

* Finish implementing the commands

* Update existing tests to use the selector

* Add tests for selector

* linter

* Catch case where there's no conflict

* Make the flag persistent for ports

* Add support to stop
2023-02-22 17:16:36 -06:00
Sam Coe
6dbe7e6342
Linter fixes (#6722)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-12-12 15:27:32 +00:00
Oleg Solomka
e7fb9c0c4d fix linter issues 2022-04-05 10:08:34 -07:00
Oleg Solomka
78573442eb address more PR feedback 2022-04-04 17:13:52 -07:00
Oleg Solomka
d6edc6f8a6 address more PR feedback 2022-04-04 10:53:52 -07:00
Oleg Solomka
b4d29a8b7b address PR feedback 2022-04-04 10:34:04 -07:00
Oleg Solomka
9a0b208200 [select codespace]: cleanup description 2022-04-01 12:30:55 -07:00
Oleg Solomka
07e18ea3d4 [codespace select]: add unit tests for filePath flag, add command description 2022-04-01 11:35:40 -07:00
Oleg Solomka
783f316df1 [codespaces]: add hidden select command 2022-03-23 00:26:50 +00:00