Commit graph

680 commits

Author SHA1 Message Date
Sam Coe
4fdf28d8a4
Change behavior of slice flags for issue edit and pr edit commands 2021-02-12 14:42:21 -08:00
Sam Coe
a47ee660a7
Pr edit command 2021-02-12 10:08:44 -08:00
Sam
4109af9b49
Merge pull request #2915 from cli/issue-edit
Edit issue command
2021-02-12 09:50:11 -08:00
Mislav Marohnić
335f0117c0 Add more examples to api docs
- Clarify that fields need to be in "key=value" format
- Headers need to be in "key:value" format
- Contrast POST vs GET requests with params in examples
- Add an example of how to add HTTP headers
- Use backticks where applicable
2021-02-11 19:17:10 +01:00
Sam Coe
cd9f211826
Remove unused code 2021-02-09 09:48:58 -08:00
Sam Coe
4ed94c2a06
Fix up flag descriptions 2021-02-08 09:59:30 -08:00
Sam Coe
68f71d82a0
Remove webmode 2021-02-08 09:17:04 -08:00
Mislav Marohnić
092cc4c4bc
Merge pull request #2909 from cli/docs-pr-create
Explain how to link an issue in `pr create`
2021-02-05 10:02:43 +01:00
Sam Coe
b366802aa1
Edit issue command 2021-02-04 10:54:34 -08:00
Mislav Marohnić
d0553bbc9d
Merge pull request #2908 from cli/docs-repo-create
Improve `repo create` docs
2021-02-04 12:56:39 +01:00
Mislav Marohnić
72a0ad49cf
Merge pull request #2910 from cli/docs-release-create
Clarify handling of git tags during `release create`
2021-02-04 12:49:20 +01:00
Mislav Marohnić
622317ee89 Tweak gist docs 2021-02-03 22:39:58 +01:00
Ruslan Gilyazetdinov
907524f459 add --files to list filenames in gist (#2885) 2021-02-03 22:39:58 +01:00
Mislav Marohnić
9dcf47d5d1 release create: clarify handling of git tags 2021-02-03 22:33:37 +01:00
Mislav Marohnić
47baf8fb10 pr create: explain how to link an issue 2021-02-03 22:17:31 +01:00
Mislav Marohnić
ab21dbeaf0 Improve repo create docs
- Clarify what will happen when in the git directory vs. out;
- List requirements for non-interactive use;
- Demonstrate how to turn issues/wiki off.
- Misc. formatting tweaks
2021-02-03 22:05:06 +01:00
Mislav Marohnić
3f7b1387e5 Improve gist view rendering
- Separate out logic to render a single file
- Render directly to stdout instead of to string slice
- Normalize whitespace between files; ensure no excessive trailing whitespace
- Add terminal pager support
- Sentence-case for flags
2021-02-02 14:21:48 +01:00
Ruslan Gilyazetdinov
bf4370bc3a linter fixes 2021-02-02 10:56:29 +03:00
Ruslan Gilyazetdinov
232dc7b7fa change condition for single file, remove empty lines in single file mode 2021-02-02 10:54:07 +03:00
Ruslan Gilyazetdinov
8e86129e2e remove gist description from single file raw view (#2886) 2021-02-01 18:49:26 +03:00
Mislav Marohnić
051fbbc1e1 Merge remote-tracking branch 'origin' into dpromanko/remove-set-cmd-prepare 2021-01-28 22:00:08 +01:00
Mislav Marohnić
88c27934a1 Update some stubs to be closer to how git behaves 2021-01-28 21:58:45 +01:00
Nate Smith
d91b3121c8
Merge pull request #2839 from kevinmbeaulieu/kb/delete-issue-cmd
Add `issue delete` command
2021-01-27 16:41:30 -08:00
Kevin Beaulieu
4b036f6675 Skip confirmation for non-interactive contexts 2021-01-27 16:31:23 -08:00
Devon Romanko
2964895a77 fix test behavior changes from migration to run.Stub 2021-01-27 18:46:29 -05:00
Sam Coe
52bdcad8ea
Do not display minimized comments 2021-01-27 08:14:46 -08:00
Devon Romanko
cb897fd7e2 remove unused errorStub from 'pr checkout' test 2021-01-27 08:04:57 -05:00
Devon Romanko
696cbfc8d1 use Stub instead of SetPrepareCmd in 'repo create' tests 2021-01-27 07:59:32 -05:00
Devon Romanko
a04e0ece71 use Stub instead of SetPrepareCmd in 'pr checkout' tests 2021-01-27 07:53:21 -05:00
Devon Romanko
45bc1d787c use Stub instead of SetPrepareCmd in 'pr view' tests 2021-01-27 07:23:49 -05:00
Devon Romanko
9dcd3fbacf use Stub instead of SetPrepareCmd in 'issue create' tests 2021-01-26 08:24:22 -05:00
Devon Romanko
3068d80a27 use Stub instead of SetPrepareCmd in 'issue view' tests 2021-01-26 08:15:43 -05:00
Devon Romanko
2eed1593ce use Stub instead of SetPrepareCmd in 'pr list' tests 2021-01-26 08:15:13 -05:00
Devon Romanko
877cbbb5dc use Stub instead of SetPrepareCmd in 'issue list' tests 2021-01-26 08:14:29 -05:00
Kevin Beaulieu
4468a5c950 Update tests to handle confirmation 2021-01-25 18:24:52 -08:00
Kevin Beaulieu
e7df220b01 Add confirmation prompt 2021-01-25 18:03:45 -08:00
Sam Coe
3f172ad991
Add contional and tests 2021-01-25 13:27:32 -08:00
zamasu
e4b9f7cb8c
Alert unpushed commits when merging a pull request 2021-01-25 12:04:32 -08:00
Nate Smith
e9afac9373
Merge pull request #2844 from cli/secret-set-fix
Fix `secret set --repos` for repositories that have dashes
2021-01-25 11:34:59 -08:00
Nate Smith
6152d8a419
Merge pull request #2825 from cli/rename-fork
restore fork rename behavior for nontty case
2021-01-25 11:29:52 -08:00
Sam
8125cd5911
Merge pull request #2117 from fsmiamoto/checkout-detached-head
Add flag for using detached HEAD to `pr checkout`
2021-01-25 11:29:36 -08:00
vilmibm
26f6761481 add note about future behavior 2021-01-25 11:29:26 -08:00
Sam Coe
cec3aa294e
Support detach head for pr checkout 2021-01-25 11:22:33 -08:00
vilmibm
d0fe1ce61b Merge remote-tracking branch 'origin/trunk' into kb/delete-issue-cmd 2021-01-25 10:16:18 -08:00
Mislav Marohnić
70c4cbf240 Merge remote-tracking branch 'origin' into success-icon-consistency 2021-01-25 14:57:04 +01:00
Mislav Marohnić
f46bab256c Rename to SuccessIconWithColor 2021-01-25 14:56:39 +01:00
Mislav Marohnić
f8135c15b1 Fix secret set --repos for repositories that have dashes
A GraphQL alias cannot contain dashes. Instead, generate safe
identifiers for GraphQL aliases.
2021-01-25 14:29:11 +01:00
Mislav Marohnić
9c4c1efc78 Merge remote-tracking branch 'origin' into dpromanko/remove-init-cmd-stubber 2021-01-25 13:56:28 +01:00
Mislav Marohnić
d465b7f5d5 Freeze time in issue view test 2021-01-25 13:46:30 +01:00
Mislav Marohnić
8cba14b564 💅 cleanup command stub assertions 2021-01-25 13:13:36 +01:00