Mislav Marohnić
ac13fc807c
Merge pull request #4005 from despreston/835-rename-checkout
...
add --branch flag to pr checkout
2021-08-05 21:02:27 +02:00
Mislav Marohnić
9a485ddfa2
💅 Cleanup local branch handling during pr checkout
2021-08-05 20:44:34 +02:00
Des Preston
294a029e70
add --branch flag to pr checkout
...
Allows renaming the checked out branch.
2021-08-05 20:44:20 +02:00
Jose Garcia
619862a46b
initial spike for multiple port support
2021-08-05 15:21:26 +00:00
Issy Long
2f1543a2d7
Merge pull request #62 from github/interactive-menu-for-deleting-a-codespace
...
cmd/ghcs/delete: Display the interactive menu when there are no args
2021-08-05 15:12:09 +01:00
Issy Long
4362b0b241
cmd/ghcs/delete: Display the interactive menu when there are no args
...
- Currently the flow to delete a single Codespace is `gh cs list`, copy
and paste the Codespace name onto the end of `gh cs delete`.
- This improves consistency with other commands by letting the user
choose which Codespace they want to delete, interactively. A Codespace
name on the command-line still works too.
2021-08-05 15:00:18 +01:00
Jose Garcia
7b079d9855
Merge pull request #56 from github/jg/logs-cmd
...
ghcs logs
2021-08-05 08:09:48 -04:00
bchadwic
1f2ab7fbe4
pr and run check symbols revision
2021-08-05 02:13:55 -07:00
Sam Coe
174e26ecac
Fix tests
2021-08-04 18:26:30 -07:00
Sam Coe
2c4a662660
Rework git client interface
2021-08-04 18:13:58 -07:00
Sam Coe
00d67e3e5a
Remove unnecessary +
2021-08-04 17:10:50 -07:00
Sam Coe
86f16dbaf5
Use more idiomatic pattern
2021-08-04 17:00:20 -07:00
Sam Coe
c0756c2d1c
Clean up UX
2021-08-04 16:42:27 -07:00
Jose Garcia
76aca39f5b
Create status support
2021-08-04 17:35:11 +00:00
Mislav Marohnić
140a54a009
Add machine-readable output formats
...
- Default table output (when stdout is attached to a terminal) stays the same;
- When stdout is redirected, output tab-separated values and no header line;
- With `--json` flag, output structured JSON data.
Example:
$ ghcs list --json
[
{
"Branch": "main",
"Created At": "2021-06-10T15:04:46+02:00",
"Name": "mislav-playground-jvqj",
"Repository": "mislav/playground",
"State": "Shutdown"
},
{
"Branch": "master",
"Created At": "2021-07-15T15:51:08+02:00",
"Name": "mislav-github-github-pwgg365xv",
"Repository": "github/github",
"State": "Shutdown"
}
]
2021-08-04 15:58:27 +02:00
Mislav Marohnić
95a515ecf0
Merge pull request #4087 from cli/graphql-error-fix
...
Fix unmarshalling GraphQL error type
2021-08-04 15:43:00 +02:00
Mislav Marohnić
90b7886142
Fix unmarshalling GraphQL error type
...
The "path" field of a GraphQL error object contains a mix of strings and
numbers and cannot be deserialized into `[]string`. Fortunately, we
don't need to rely on the "path" field and instead have the final error
message be constructed by aggregating human-readable "message" fields.
2021-08-04 15:34:53 +02:00
Mislav Marohnić
1007c1a3ae
Merge pull request #4079 from cli/no-label-colors
...
Disable colorizing labels in `issue list` output
2021-08-04 15:23:36 +02:00
Jose Garcia
70f4a7b4b5
Re-introduce secrets export
2021-08-04 13:19:00 +00:00
Mislav Marohnić
fddca21815
Merge pull request #4085 from marckhouzam/feat/compPowershell
...
Fixes #4084 : Enable completion descriptions for powershell
2021-08-04 15:10:15 +02:00
Marc Khouzam
549caf29b5
Enable completion descriptions for powershell
...
Signed-off-by: Marc Khouzam <marc.khouzam@gmail.com>
2021-08-04 07:45:30 -04:00
Mislav Marohnić
65d1124799
Close file after resolving faux symlinks on Windows
...
https://github.com/cli/cli/pull/4051/checks?check_run_id=3186063173
2021-08-03 16:46:04 +02:00
Mislav Marohnić
930ee60ac5
Disable colorizing labels in issue list output
...
- Labels with dark color are not visible on a dark background
- "Raw" `issue view` output should never output color, not even with
CLICOLOR_FORCE=1
2021-08-03 16:02:16 +02:00
Mislav Marohnić
fbdebe8e4e
Merge pull request #4071 from rsteube/gh-merge-admin
...
pr merge: added `--admin` flag
2021-08-03 15:56:25 +02:00
Mislav Marohnić
5d1d967c43
💅 Clean up pr merge admin logic
2021-08-03 15:49:55 +02:00
Jose Garcia
d5003334e3
Remove secrets export
2021-08-03 13:43:09 +00:00
Jose Garcia
e57b390d4a
dotfiles status spike
2021-08-03 13:42:34 +00:00
rsteube
baa18c164d
pr merge: added --admin flag
2021-08-02 13:02:32 +02:00
Jose Garcia
be794f1579
creation log support for cat and tail
2021-07-29 17:09:50 +00:00
Jose Garcia
58a055609d
logs cmd spike and refactor of ssh tunnel methods
2021-07-29 10:57:51 -04:00
Mislav Marohnić
bbd74f004f
Go 1.14 compat
2021-07-28 23:00:34 +02:00
Mislav Marohnić
0d999ddaa1
Rework local extensions for Windows
...
Replace the implementation that relied on symlinks with the one that
create regular files that act like symlinks: they contain a reference to
the local directory where to find the extension.
2021-07-28 22:47:54 +02:00
Mislav Marohnić
5a46c1cab6
Merge pull request #4043 from cli/upgrade-goreleaser
...
This reverts commit 85d0447 .
2021-07-28 21:07:29 +02:00
Mislav Marohnić
4b499be96b
Merge pull request #3942 from dscho/complete--repo-flag
...
Allow auto-completing the `--repo` values
2021-07-28 17:27:56 +02:00
Mislav Marohnić
d6b70beeaa
List repos from non-default hostnames in completions for -R
2021-07-28 17:18:56 +02:00
Jose Garcia
ebc8ce5adb
Merge pull request #53 from github/jg/perf-improvements
...
Liveshare client upgrade to v0.6.0
2021-07-28 10:13:06 -04:00
Jose Garcia
cd99399290
Merge pull request #3 from github/jg/ignore-eof-terminal
...
Ignore EOF on terminal close
2021-07-28 09:56:07 -04:00
Jose Garcia
ae29c3c1ea
Ignore EOF on terminal close
2021-07-28 13:55:33 +00:00
Jose Garcia
4fc27b3ed9
Merge pull request #2 from github/jg/connection-test
...
Connection test
2021-07-28 09:52:58 -04:00
Jose Garcia
3a2ade23a4
Connection test
2021-07-28 13:52:30 +00:00
Johannes Schindelin
b43f78bc19
completions: auto-complete --repo values
...
Looking at the locally-registered remotes, we have a pretty good idea
what `--repo` values are available. Let's complete them.
Helped by Nate Smith and Mislav Marohnić.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2021-07-28 15:36:30 +02:00
Jose Garcia
9544f8acc9
Commit vendors
2021-07-28 09:05:58 -04:00
Jose Garcia
cba40ad72a
liveshare client upgrade
2021-07-28 08:33:06 -04:00
Jose Garcia
39fe550aeb
Merge pull request #1 from github/jg/refactor
...
Refactors most of the library to solidify some of the implementation with tests
2021-07-27 19:23:37 -04:00
Jose Garcia
0ab67badfa
Final changes to finish this refactor
2021-07-27 23:19:55 +00:00
Sam
ef9b781283
Merge pull request #4047 from tniessen/opensuse-typo
...
Fix typo in openSUSE installation instructions
2021-07-27 08:18:37 -07:00
Sam
92ed42c54a
Merge pull request #4029 from cli/extensions-upgrade-force
...
Add --force flag for extensions upgrade
2021-07-27 08:07:14 -07:00
Mislav Marohnić
f3a7d0076e
Merge pull request #4028 from cli/bump-cobra
...
Upgrade Cobra for improved shell completion support
2021-07-27 16:34:20 +02:00
Mislav Marohnić
fdad37e248
Merge pull request #4019 from cli/enterprise-env
...
Fix error message when using GH_ENTERPRISE_TOKEN but host is ambiguous
2021-07-27 15:29:14 +02:00
Jose Garcia
77d0bc1901
Merge pull request #43 from github/gh-token
...
Add note about gh extension
2021-07-27 08:03:27 -04:00