chemotaxis
ffcda8fdd4
Map parent commands to typenames
2022-04-11 00:38:13 -04:00
chemotaxis
4b226b1bf8
Other changes
...
- Changed function to method
- Moved additional common options to method
- Remove redundant documentation
- Cobra sets documentation in the Command struct.
2022-04-11 00:37:14 -04:00
chemotaxis
72a92fa09d
Added lock subcommands to pr command
2022-04-11 00:37:14 -04:00
chemotaxis
631bea2e6d
Draft first design
...
As originally designed in the issue discussion, a single function
`NewCmdLock()` with a parameter to lock or unlock was proposed.
However, after playing around with a couple different designs, it seems
best to create two separate public functions and one private function to
do the common work.
Using two public functions seems to make sense because the api for
locking is different from the api for unlocking. Therefore, the
documentation for both are different and keeping them in separate
functions would make it easier to maintain the documentation.
2022-04-11 00:36:42 -04:00
Jeff Hubbard
de9b5ad8f8
Merge branch 'trunk' into multi-devcontainer
2022-04-08 15:17:33 -07:00
Mislav Marohnić
7ec2b2251d
status: respect host configuration
...
Respect the default hostname determined from `hosts.yml` or GH_HOST
instead of always using `github.com`.
2022-04-08 14:54:40 +02:00
Jake Shorty
6783509d3b
Merge pull request #5410 from cli/codespaces-location-optional
...
Make location an optional flag when creating codespaces
2022-04-07 10:58:39 -06:00
Jake Shorty
e9ed200c1b
Use proper syntax for location values
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-04-07 10:49:03 -06:00
Amanda Lin
dc990e38ef
Merge pull request #5409 from cli/adnamalin/timeout-notice
...
handle IdleTimeoutNotice on gh cs create
2022-04-06 11:23:03 -05:00
Jake Shorty
be7a4ed70b
Enumerate available codespace locations for now
...
We'll probably want to have an intermediate geographical abstraction for these eventually, but this gives parity with the github.com UI.
2022-04-06 15:00:42 +00:00
Amanda Lin
5b10b6e986
use stderr instead and add tests
2022-04-06 09:57:36 -05:00
Sam Coe
31da9b1360
Replace old search utility with new search ( #5366 )
2022-04-06 16:44:52 +02:00
Sam Coe
f7710dedd2
Allow non-interactive gist file replacement ( #5408 )
2022-04-06 15:49:52 +02:00
Jake Shorty
4aca945e2e
Drop unused locationResult
2022-04-05 20:27:10 +00:00
Jake Shorty
41719f7624
Location is an optional flag when creating codespaces
2022-04-05 20:19:19 +00:00
Jose Garcia
f6b8bbe982
Merge pull request #5390 from legomushroom/legomushroom/codespaces-add-hidden-select-command
...
[codespaces]: add hidden select command
2022-04-05 13:37:45 -04:00
Oleg Solomka
e7fb9c0c4d
fix linter issues
2022-04-05 10:08:34 -07:00
Amanda Lin
6490f658de
handle IdleTimeoutNotice
2022-04-05 10:27:26 -05:00
Oleg Solomka
78573442eb
address more PR feedback
2022-04-04 17:13:52 -07:00
Jeff Hubbard
a84e43cadf
Final copy and behavior update for prompt
2022-04-04 16:32:38 -07:00
Amanda Lin
371f128871
remove idle timeout flag
2022-04-04 15:15:00 -05: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
Ryan Opel
a97dae6269
Add 'confirm' flag for issue delete subcommand
2022-04-02 18:37:30 -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
Gil Raphaelli
a6f6ad74ae
release list: correctly label the Latest release ( #4921 )
...
since https://docs.github.com/en/graphql/overview/changelog#schema-changes-for-2021-01-19
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-03-30 17:08:21 +00:00
Daniel Le
24ba3540b7
generateCompareURL uses url.PathEscape instead of url.QueryEscape
...
For ctx.{BaseBranch,HeadBranchLabel}.
2022-03-30 13:01:24 +08:00
Jeff Hubbard
ef0672eac0
Merge branch 'trunk' into multi-devcontainer
2022-03-29 13:46:05 -07:00
Sam Coe
6fbe6d9c20
Add ability to filter issue and pr searches by app ( #5370 )
2022-03-29 21:58:29 +02:00
xiaotong
4a5864708c
Add label list and label create commands ( #5316 )
2022-03-29 17:38:59 +00:00
Nate Smith
e2fd7ceff0
Merge pull request #5369 from cli/gh-status
2022-03-29 11:32:28 -05:00
lylecantcode
56fda0f8c6
Support GH_DEBUG to control verbosity, deprecate DEBUG ( #5306 )
...
The GH_DEBUG environment variable is a new gh-specific verbosity control.
For backwards-compatibility, DEBUG will still be respected if it has values
"1", "true", "yes", and "api", but any other values will be ignored.
Finally, support for "oauth" debug value has been dropped in favor of "api".
The "oauth" value only had limited, internal use.
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-03-29 18:05:35 +02:00
nate smith
5b060a272d
nvm
2022-03-29 11:01:54 -05:00
nate smith
2712ef05df
fix tests to account for padding
2022-03-29 10:44:48 -05:00
nate smith
dc03417042
PR->Pull Request
2022-03-29 10:35:28 -05:00
nate smith
fead25b56c
some lipgloss tweaks
2022-03-29 10:34:20 -05:00
nate smith
5569c0e94d
oops
2022-03-29 10:29:05 -05:00
nate smith
0e941dca0a
words
2022-03-29 10:26:34 -05:00
nate smith
893f833673
use errgroup
2022-03-29 10:25:14 -05:00
nate smith
a3fba669bd
add and use RESTWithNext
2022-03-29 10:15:33 -05:00
nate smith
659a8ed1b9
use a StringSliceVar
2022-03-29 09:47:59 -05:00
Nate Smith
c1e5934b21
Merge pull request #5272 from meiji163/pin-ext
2022-03-29 09:21:20 -05:00
Mislav Marohnić
07cd7496c5
Merge pull request #5225 from cli/extract-to-root
...
run download: fix extracting to root path
2022-03-29 16:16:34 +02:00
Mislav Marohnić
3f5311ea1c
Merge pull request #5345 from znull/znull/ssh-config-example
...
ssh.go: use setup example that should work with any ssh config
2022-03-29 16:15:56 +02:00
Jimmy Keith
ce8f66b421
Have extension upgrade --all be non-fatal when no extensions installed ( #5356 )
2022-03-29 16:15:25 +02:00
Mislav Marohnić
91c450ec60
Merge pull request #5357 from callumacrae/force-tty-pr-view
...
fix: respect `GH_FORCE_TTY` when running `gh pr view`
2022-03-29 16:12:45 +02:00
Jeff Hubbard
9554e522af
Change the way we parse list-devcontainers response
2022-03-28 14:24:57 -07:00
Jeff Hubbard
03b8b16585
Merge branch 'trunk' of ssh://github.com/cli/cli into multi-devcontainer
2022-03-28 13:59:01 -07:00
nate smith
058c2b4fe3
redundant
2022-03-28 11:55:07 -05:00