Mislav Marohnić
11fbb60ae7
Rename the module to "github.com/cli/cli/v2"
2021-08-25 12:41:30 +02:00
Jose Garcia
2ef6e95982
show status under a flag
2021-08-24 20:15:21 -04:00
Jose Garcia
46ee45bcdd
simplify the state iteration
2021-08-24 17:46:24 -04:00
Mislav Marohnić
355d28195e
Merge pull request #4189 from cuonglm/issue-4188
...
Disable auth for cobra shell request completion hidden commands
2021-08-24 20:48:46 +02:00
Cuong Manh Le
6cf6bb4a44
Disable auth for cobra shell request completion hidden commands
...
Those hidden command are used by the shell completion scripts, but they
are not disabled auth check. Thus, the shell completion does not work
even the completion setup was done properly.
Fixes #4188
2021-08-25 01:35:49 +07:00
Gabriel Ramirez
30be4c98f9
Send codespace name to Stdout to enable scripting
2021-08-24 13:12:18 -05:00
Mislav Marohnić
a94cadc702
Merge pull request #4184 from cli/changelog-squashed-merges
...
Improve changelog script so it includes squashed merges
2021-08-24 18:59:30 +02:00
Mislav Marohnić
4e219a9c8f
Improve changelog script so it includes squashed merges
2021-08-24 14:29:29 +02:00
Heath Stewart
e2973453b5
Add helper template functions for rendering tables ( #3519 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-08-23 21:00:25 +02:00
Nate Smith
a53ea0c655
Merge pull request #4177 from cli/survey231
...
bump survey to 2.3.1
2021-08-23 13:51:03 -05:00
Heath Stewart
88af63d36f
Re-enable label colors for issue list ( #4106 )
...
* Re-enable label colors for issue list
* Drop parentheses wrapping issue labels
* Support ANSI escape codes in TablePrinter cells
* Switch to a Truncate implementation that correctly measures ANSI escape codes
* Only output RGB color if terminal has truecolor capabilities
* Enable `ENABLE_VIRTUAL_TERMINAL_PROCESSING` on Windows - fixes wrapping issues with full lines and allows truecolor rendering
Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-08-23 19:55:12 +02:00
vilmibm
0388d457b0
bump survey to 2.3.1
2021-08-23 12:53:11 -05:00
Sam
25b150ad6e
Merge pull request #4159 from cli/ext-create
...
Add extension create command
2021-08-23 10:44:54 -07:00
Sam Coe
5756e2397a
Extension template is executable according to git
2021-08-23 10:36:29 -07:00
Josh Gross
a19997a399
Merge pull request #83 from github/joshmgross/code-insiders
...
Add support to `code` for VS Code Insiders
2021-08-23 13:14:00 -04:00
Nate Smith
5a328c38db
Merge pull request #4172 from cli/accessible-survey
...
Bump Survey for accessibility features
2021-08-23 11:55:49 -05:00
Mislav Marohnić
351cd622e7
Merge pull request #4175 from cli/bump-go
...
Require Go 1.16+
2021-08-23 18:41:40 +02:00
Mislav Marohnić
eb78ac0dcb
Require Go 1.16+
2021-08-23 18:08:09 +02:00
Josh Gross
ae88091fd8
Replace options struct with variable
2021-08-23 12:01:13 -04:00
Sam Coe
c8963a6345
Address PR comments
2021-08-23 09:01:05 -07:00
Sam Coe
bb0107ad51
Unhide extension commands
2021-08-23 08:49:09 -07:00
Mislav Marohnić
af2aecd40b
Merge pull request #4146 from cli/force-tty
...
Add ability to force terminal-style output even when redirected
2021-08-23 16:46:14 +02:00
Mislav Marohnić
0701f8aa82
Add tests for ForceTerminal
2021-08-23 16:09:08 +02:00
Mislav Marohnić
8129fb3d3e
Merge pull request #4171 from mahdyar/chore/make-gh-status-clickable
...
chore: make gh status link clickable
2021-08-23 13:12:35 +02:00
Mislav Marohnić
a508fee4e1
Merge pull request #4158 from cli/extensions-ux
...
Enable `help` for extensions, accept full extension names as argument
2021-08-23 12:45:22 +02:00
Mislav Marohnić
c96834228e
Merge pull request #4169 from saintmalik/patch-1
...
fix typos in docs
2021-08-23 12:23:44 +02:00
Mislav Marohnić
18ea94a28e
Bump Survey for accessibility features
...
a4e159a1a7
2021-08-23 12:20:31 +02:00
Mislav Marohnić
4a45ca6fa6
Merge pull request #4154 from cli/graphql-502-error
...
Fix HTTP 502 error reporting from GraphQL request
2021-08-23 12:03:34 +02:00
Mahdyar Hasanpour
db74830e64
chore: make gh status clickable
...
Adding https:// to githubstatus.com to make it clickable on terminal emulators
2021-08-22 18:01:55 +04:30
SaintMalik
75dc51084b
fix typos in docs
2021-08-22 08:25:15 +01:00
Sam Coe
7f0e09c13f
Move link to next line since it is long
2021-08-19 16:18:59 -07:00
Sam Coe
d22286a8e8
Add examples to template
2021-08-19 15:58:01 -07:00
Sam Coe
50a15cae86
Better error message
2021-08-19 14:46:26 -07:00
Josh Gross
530c0244f9
Add support to code for VS Code Insiders
2021-08-19 17:37:57 -04:00
Sam Coe
232ad2a67c
Fix up link
2021-08-19 13:41:26 -07:00
Sam Coe
e9f7459ce2
Add extension create command
2021-08-19 13:30:34 -07:00
Mislav Marohnić
51d609078b
Enable gh help <command> for extensions
...
This sends the `--help` flag to the extension. The extension is
reponsible for printing something useful as a result.
2021-08-19 20:38:19 +02:00
Jose Garcia
55f0dad3db
merge upstream
2021-08-19 18:30:10 +00:00
Mislav Marohnić
1881de6d41
Allow fully qualified extension name as argument to upgrade, remove
2021-08-19 20:01:18 +02:00
Mislav Marohnić
c84bfa9e66
Merge pull request #4156 from rneatherway/patch-1
...
Extend query suite with quality queries
2021-08-19 19:01:01 +02:00
Robin Neatherway
6ebafb55ae
Extend query suite with quality queries
2021-08-19 15:05:28 +01:00
Mislav Marohnić
d24e963f34
Merge pull request #4155 from rneatherway/rneatherway/off-by-one
...
Correct benign mistake in off-by-one guard
2021-08-19 15:52:02 +02:00
Robin Neatherway
0e51ec1699
Correct benign mistake in off-by-one guard
...
m[2] is the third element of m, rather than the second, so we have to
check instead that the len of m is at least 3.
Because the regular expression has two capture groups, the length of m
will always be 3, so currently the guard will always be true.
2021-08-19 14:41:04 +01:00
Issy Long
9cb8200732
Merge pull request #78 from github/fix-ports-usage-docs
...
cmd/ghcs/ports: Fix usage docs for the new `source:forward` syntax
2021-08-19 10:12:57 +01:00
Issy Long
a53eb53ad4
cmd/ghcs/ports: Fix usage docs for the new source:forward syntax
...
Co-authored-by: George Brocklehurst <georgebrock@github.com>
2021-08-19 10:10:30 +01:00
Mislav Marohnić
3e23dcab15
Fix HTTP 502 error reporting from GraphQL request
...
Now it makes sure that the message portion will be printed to stderr
when the user encounters the error.
2021-08-18 22:17:32 +02:00
Issy Long
9697aa3a78
Merge pull request #77 from github/lowercase-deletions
...
cmd/ghcs/delete: When matching repos to delete, standardize casing
2021-08-18 18:33:57 +01:00
Issy Long
28a3644a07
cmd/ghcs/delete: I learnt about strings.EqualFold - thanks, linter!
2021-08-18 18:15:15 +01:00
Issy Long
5af1cccb73
cmd/ghcs/delete: When matching repos to delete, standardize casing
...
- It was possible to delete Codespaces for repo `SomePerson/foo` but not
`someperson/foo`, despite the fact that the GitHub APIs don't actually
care about casing - `SomePerson` and `someperson` is the same account.
- This fixes that by lowercasing both the user-provided repo name, and
the repository that is attached to the Codespace for a match.
- Fixes #76 .
2021-08-18 18:11:11 +01:00
Mislav Marohnić
8a56359902
Merge pull request #4144 from cli/install-docs
...
Refresh Linux & BSD installation docs
2021-08-18 17:21:24 +02:00