Commit graph

4951 commits

Author SHA1 Message Date
Ben Steadman
f30e76aab8 Support editing gist description
Add a --desc flag to gh gist edit to support editing gist
descriptions. This flag can be used in combination with the other gist
editing flags to edit the description whilst also adding/editing files.

Signed-off-by: Ben Steadman <steadmanben1@gmail.com>
2021-11-16 20:18:53 +00:00
Mislav Marohnić
0b8c218632
Merge pull request #4728 from cli/codespaces-codeowners
Fix CODEOWNERS for codespaces
2021-11-16 13:24:55 +01:00
Mislav Marohnić
ef1d02f71c
Fix CODEOWNERS for codespaces
The expression `dir/*` only matches files directly under `dir/`.
2021-11-15 20:05:54 +01:00
Mislav Marohnić
dae77fd398
Merge pull request #4675 from cli/docs-web-formatting
Overhaul manual pages for the web
2021-11-09 21:00:51 +01:00
Jose Garcia
db6e1d20cb
Merge pull request #4705 from cli/jg/rename-errs
codespace: Rename errors from Live Share to generic codespace
2021-11-09 07:42:14 -05:00
Jose Garcia
8296904c26
Rename errors from Live Share to generic codespace 2021-11-08 13:35:48 +00:00
Sam
67d1a9012c
Merge pull request #4450 from cli/repo-rename
gh repo rename
2021-11-04 10:52:22 -07:00
Boston Cartwright
dd0edc8fbd
Omit current directory when browse --branch is used with no file argument (#4676) 2021-11-04 15:00:42 +00:00
Parth Patel
d4105807c2 @mislav changes requested 2021-11-03 12:18:44 -04:00
Mislav Marohnić
a7254ac43f Improve markdown rendering of man pages for commands
- "Examples" section now renders with syntax highlighting and doesn't
  interpret curly braces as Liquid tags anymore
- Flags are now listed with nicer formatting than just being rendered to
  a plain text block
- Flags are now listed above the "Examples" section
- The `--help` flag is no longer explicitly and repetitively being
  listed as an inherited flag under every command
- Usage synopsis line is now rendered early in the documentation for a
  command
- Every command that has subcommands now explicitly lists those
  subcommands in its documentation
2021-11-03 16:59:14 +01:00
Mislav Marohnić
5aa47f2428 Mark actions command as non-runnable 2021-11-03 16:58:51 +01:00
Mislav Marohnić
2b26a2c075 Consistently capitalize GitHub Actions 2021-11-03 15:54:10 +01:00
Mislav Marohnić
42c8ce91d0 Group gh secret as an Actions command 2021-11-03 15:51:19 +01:00
Mislav Marohnić
2c180a6338 Clean up codespace cp docs
- Examples block now moved to its own section
- Refer to flags by their full names
- Use backticks for delimiting command-line expressions
- Use double quotes for literal values
2021-11-03 15:44:09 +01:00
Mislav Marohnić
9b7d53501f Make sure URLs in man pages render as hyperlinks on the web 2021-11-03 15:39:10 +01:00
Jeff Hubbard
3a4d947603
Merge pull request #4635 from cli/ssh-waiter-timeout
Adds a timeout context to the ssh waiter to prevent indefinite hanging
2021-11-02 11:46:32 -07:00
Peter Benjamin
175da0f58a
Fix rendering issue in "formatting" help topic (#4661)
Signed-off-by: Peter Benjamin <petermbenjamin@gmail.com>
2021-11-02 17:30:49 +00:00
Jeff Hubbard
97d85d0ac0 Oops, left it as second from debugging 2021-10-28 16:33:13 -07:00
nate smith
da258fb4f4 confirm when inferring repository 2021-10-28 12:26:01 -05:00
Jeff Hubbard
c18e54189c Adds a timeout context to the ssh waiter to prevent indefinite hanging 2021-10-27 15:40:49 -07:00
Sam Coe
296cf381a2
Reduce duplicate warning message code 2021-10-27 14:07:00 -04:00
Parth Patel
95dbd677e0 resolved comments 2021-10-27 12:12:09 -04:00
rsteube
d794a929da
Fix stack overflow in AddJSONFlags (#4614)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-10-27 14:56:59 +02:00
Parth Patel
333f0ec530 remove repooverride from repo 2021-10-26 11:55:46 -04:00
Parth Patel
ea0e8d5c23 fixed http_tests git stub 2021-10-26 11:38:12 -04:00
Parth Patel
ccdea2db6d lint fix 2021-10-25 17:19:27 -04:00
Parth Patel
c83c6a83e6 Merge branch 'trunk' into repo-rename 2021-10-25 17:17:06 -04:00
Parth Patel
b4d2bce6fc res comments 2021-10-25 17:07:48 -04:00
Mislav Marohnić
cbd6569cb4
Bump bluemonday to silence the security alert (#4607)
GitHub CLI is not affected by GHSA-x95h-979x-cf3j, since we are not
vulnerable to XSS via HTML injection, but upgrading the library might
silence the security alert.
2021-10-25 19:43:41 +02:00
Mislav Marohnić
a843cbd728 Mark codespace a core command 2021-10-25 19:42:22 +02:00
Mislav Marohnić
31ba2ea4d5
Publish codespace commands (#4606) 2021-10-25 17:38:00 +00:00
Mislav Marohnić
0a0ed3986d
Merge pull request #4608 from srivatsn/srivatsn/vscodebranding
Update help text codespaces code command
2021-10-25 19:11:32 +02:00
Srivatsn Narayanan
32f1ea5ec0 Update branding of VSCode in the code command 2021-10-25 16:53:28 +00:00
Mislav Marohnić
45ea360e4a
Merge pull request #4605 from cli/no-map-pointers
Remove unnecessary pointers to Go maps
2021-10-25 17:48:47 +02:00
Mislav Marohnić
83a08aa3ba Remove unnecessary pointers to Go maps 2021-10-25 17:20:12 +02:00
Mislav Marohnić
8d9e8e317e
Merge pull request #4591 from cli/codespaces-json-export
Add export functionality to codespace commands
2021-10-25 17:10:32 +02:00
Mislav Marohnić
905cb3b9fa Touch-up codespaces exporting functionality 2021-10-25 15:45:10 +02:00
Mislav Marohnić
ba4a7c671c
Merge pull request #4594 from cli/codespace-create-branch
Make branch input optional in codespace create
2021-10-25 15:28:47 +02:00
Parth Patel
1d382fa7ca lint fix? 2021-10-22 12:46:07 -04:00
Parth Patel
4e30fd5ba4 uncommented tests 2021-10-22 12:43:23 -04:00
Parth Patel
dc0b9bc6b0 finished up tests 2021-10-22 12:41:06 -04:00
Mislav Marohnić
436762dd54 codespace create: make the branch input optional
When blank, the branch name will default to the default branch for the
repository.
2021-10-22 15:43:26 +02:00
Mislav Marohnić
3492109e12 codespace create: avoid unnecessarily fetching user 2021-10-22 14:39:21 +02:00
Mislav Marohnić
a5fa70a07d 🔥 obsolete codespace/output package 2021-10-22 14:18:10 +02:00
Mislav Marohnić
cbeb675e56 codespace ports: support --json and --template export flags 2021-10-22 14:13:43 +02:00
Mislav Marohnić
badbf515cb codespace list: support --json and --template export flags 2021-10-22 14:13:15 +02:00
Parth Patel
de1d860bce lint fix 2021-10-21 17:33:24 -04:00
Parth
d378dc84c6 final changes made 2021-10-21 15:17:15 -04:00
Sam
884d73d5dd
Merge pull request #4587 from dhiemaz/fixing-docs-numbering
Fixing docs numbering
2021-10-21 11:45:35 -07:00
Sam
7526ea505d
Merge pull request #4586 from dhiemaz/fixing-docs-releasing
fixing numbering in releasing docs for consistency.
2021-10-21 11:41:42 -07:00