Mislav Marohnić
301a35eedc
Merge pull request #3621 from cli/export-data
...
Push data serialization concern into Exporter
2021-05-17 13:43:00 +02:00
Mislav Marohnić
f2456f4820
Merge pull request #3628 from cli/json-flag-completion
...
Add shell completion for valid `--json` flag values
2021-05-17 12:47:54 +02:00
Mislav Marohnić
26b987aaf5
Merge pull request #3626 from cli/json-color-gray
...
Fix "null" display in colored JSON output
2021-05-17 12:43:55 +02:00
Mislav Marohnić
b09c1f7a6f
Add shell completion for the --json flag
2021-05-12 17:35:17 +02:00
Mislav Marohnić
5f0301c990
Have Exporter.Write automatically call ExportData on given data structure
2021-05-12 17:05:15 +02:00
Mislav Marohnić
fddc888a69
Fix "null" display in colored JSON output
...
"null" was previously rendered in "bright black", an ANSI color that is
not guaranteed to be visible at all depending on the terminal. Switch
the color to cyan to ensure that "null" is visible.
2021-05-12 16:56:52 +02:00
Mislav Marohnić
3cbd5b4934
Add repo fork --org functionality ( #3611 )
...
Co-authored-by: Gowtham Munukutla <gowtham.m81197@gmail.com>
2021-05-10 17:09:03 +02:00
Mislav Marohnić
70a9621928
💅 cleanup in gist create
2021-05-07 14:15:27 +02:00
Gowtham Munukutla
cc94dc762d
shift gist validation to server rather than client
2021-05-07 14:12:00 +02:00
Cristian Dominguez
2f94adabb2
Use T.TempDir for temporary dirs in tests ( #3580 )
2021-05-07 12:21:26 +02:00
Mislav Marohnić
25d79c4e16
Merge pull request #3525 from cristiand391/improve-issue-status-detection
...
Improve issue status detection
2021-05-03 21:04:35 +02:00
Mislav Marohnić
6a57dcfd7d
💅 cleanup placeholder implementation
2021-04-30 14:22:25 +02:00
Robin Neatherway
59b4d5cb7c
Support standard path variable replacement syntax
...
Add support for the following synonyms:
{owner} for :owner
{repo} for :repo
{branch} for :branch
2021-04-30 14:22:25 +02:00
Mislav Marohnić
d478a65254
Merge pull request #3530 from tklauser/x-term
...
Use golang.org/x/term
2021-04-30 11:57:01 +02:00
nate smith
9f451d9eef
review feedback
2021-04-29 16:06:26 -05:00
nate smith
9110db7f7e
fill in help topic
2021-04-29 10:58:40 -05:00
nate smith
02e9fa086d
start on incorrect function error handling
2021-04-28 13:59:54 -05:00
Nate Smith
d5954e2e94
Merge pull request #3499 from cli/secret-prompt
...
tweak secret set to allow prompting
2021-04-28 13:28:33 -05:00
Nate Smith
cc7c2f2c9d
Merge pull request #3517 from cli/watch-404
...
handle 404 for annotations
2021-04-28 13:27:04 -05:00
Tobias Klauser
b586d51778
Use golang.org/x/term
...
The golang.org/x/crypto/ssh/terminal package is deprecated and merely a
wrapper around golang.org/x/term. Use the latter directly.
2021-04-28 18:44:36 +02:00
Cristian Dominguez
6b49e21295
Improve issue status detection
2021-04-28 00:30:21 -03:00
Sasha Gerrand
f70bdcf982
Corrects a typo in pr create docs
2021-04-27 11:57:42 +01:00
vilmibm
00da7f9fc1
handle 404 for annotations
2021-04-26 16:55:08 -05:00
Nate Smith
ac0fe6bf71
Merge pull request #3490 from heaths/issue3487
...
Optionally read stdin for `gh alias set`
2021-04-26 16:40:07 -05:00
Heath Stewart
aaa5a9e949
Use - to read from stdin instead
...
Resolves PR feedback.
2021-04-23 17:23:27 -07:00
vilmibm
3e36596269
ability to paste secrets in a prompt
2021-04-23 13:07:20 -05:00
Nate Smith
5a2ec54685
Merge pull request #3494 from cli/pr-list-example
...
add some more examples for pr list
2021-04-23 11:51:07 -05:00
vilmibm
47ed41bfcd
add some more examples for release create
2021-04-22 15:26:26 -05:00
vilmibm
c69f210807
add some more examples for pr list
2021-04-22 14:45:19 -05:00
Heath Stewart
bd2738379b
Optionally read stdin for gh alias set
...
Resolves #3487
2021-04-21 22:16:41 -07:00
Mislav Marohnić
a3a7deadb8
Merge pull request #3400 from embano1/patch-1
...
Add note on supported value types in raw-fields
2021-04-20 18:49:41 +02:00
Nate Smith
d09896468d
Merge pull request #3351 from cristiand391/fix-pr-reopen
...
Fix detecting PR status when passing branch as arg
2021-04-20 11:41:16 -05:00
Nate Smith
882c08104d
Merge pull request #3472 from cli/issue-create-web-fix
...
Fix `issue create --web`
2021-04-20 11:39:48 -05:00
Nate Smith
754dc109d0
Merge pull request #3468 from cli/actions-remote
...
include magic repo resolution magic for workflow and run
2021-04-20 10:30:11 -05:00
Sam
aea6163a83
Merge pull request #3445 from adamslc/log_fix
...
Fix `run view --log` when steps have slashes
2021-04-20 08:13:26 -07:00
Sam Coe
75227f44d1
linter
2021-04-20 08:05:19 -07:00
Mislav Marohnić
a2ff97d73f
Fix issue create --web
2021-04-20 13:50:44 +02:00
Mislav Marohnić
ae99ad4fbe
Merge pull request #3461 from cli/jobs-url-enterprise
...
Fix requesting REST sub-resources on GHE
2021-04-20 11:31:23 +02:00
vilmibm
9ebcca7082
include magic repo resolution magic for workflow and run
2021-04-19 16:23:49 -05:00
Sam Coe
c77c7ec7c9
Match logs based on job name and step number
2021-04-19 12:21:34 -07:00
Luke Adams
58d3aa878d
Extract filename creation logic to seperate function
2021-04-19 10:59:36 -06:00
Mislav Marohnić
ac348b0dec
Fix requesting REST sub-resources on GHE
...
GitHub REST resources typically return full URLs to fetch related
resources at. We used to parse those URLs to find just the path portion
and pass that in to the `REST()` function, which only accepted paths. By
doing so, we are essential de-constructing a URL just to re-assemble it
again. While re-assembling it for Enterprise, though, we would
accidentally inject an extra `api/v3/` prefix where one was not needed.
The solution is just to use raw URLs as reported by the REST API with
no modifications. This extends the `REST()` function to accept full URLs
in addition to just paths to resources.
2021-04-19 12:41:09 +02:00
Luke Adams
0822e6b4ed
Fix run view --log when steps have slashes
2021-04-16 23:37:24 -06:00
vilmibm
8458c5f95d
use int64 explicitly in Actions support
2021-04-15 13:32:09 -05:00
Sam
09b09810dd
Merge pull request #3403 from cli/update-glamour
...
Update glamour to version which includes emoji support
2021-04-15 10:33:49 -07:00
vilmibm
a2f4f725af
create cache dir
2021-04-15 11:15:03 -05:00
Mislav Marohnić
516ea8691e
Fix whitespace formatting of issue/pr view help text
2021-04-14 20:04:47 +02:00
Mislav Marohnić
654bd29ca0
Disallow unsupported values for --json flag
2021-04-14 19:58:58 +02:00
Mislav Marohnić
56cdbb643f
Fix pr view tests broken by createdAt → submittedAt switch
2021-04-14 19:41:55 +02:00
Mislav Marohnić
625505dcfb
Fix assigning null Exporter
2021-04-14 19:11:08 +02:00