Babak K. Shandiz
a73ae65ca8
Use closure-scoped variable to catch --remove-milestone option
...
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2024-07-29 21:40:24 +01:00
Babak K. Shandiz
4c8ec84e26
Improve --remove-milestone option description
...
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2024-07-28 15:23:19 +01:00
Babak K. Shandiz
6e34e81b76
Point to Editable.MilestoneId method
...
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2024-07-28 15:22:54 +01:00
Babak K. Shandiz
93621436e8
Merge branch 'trunk' into 9292-add-remove-milestone-option
2024-07-28 13:27:24 +01:00
William Martin
32e499e090
Add examples for template usage in PR and issue creation
2024-07-23 13:14:27 +02:00
Babak K. Shandiz
42da8baf70
Verify --milestone and --remove-milestone are not assignable at the same time
...
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2024-07-21 12:56:14 +01:00
Babak K. Shandiz
168a8832f0
Assert correct parsing of --remove-milestone option
...
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2024-07-21 12:55:47 +01:00
Babak K. Shandiz
683576d6bf
Add --remove-milestone option
...
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2024-07-21 12:54:23 +01:00
Babak K. Shandiz
9dabc3b8dd
Remove unused expected output from test case (with wantsErr: true)
...
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2024-07-21 12:53:15 +01:00
Babak K. Shandiz
17257df064
Verify --body and --body-file are not assignable at the same time
...
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2024-07-21 12:45:28 +01:00
Andy Feller
ae5a71bbe4
Merge branch 'trunk' into add-issue-create-editor
2024-07-15 15:21:03 -04:00
notomo
28cc56cd45
Raise error if editor is used in non-tty mode
2024-07-13 11:01:48 +09:00
William Martin
940b54c708
Add tests for JSON field support on issue and pr view commands
2024-07-12 17:35:54 +02:00
notomo
0b32e66bba
Enable to use --web even though editor is enabled by config
2024-07-09 21:01:51 +09:00
notomo
0d37174076
Add editor hint message
2024-07-09 21:01:50 +09:00
notomo
50d0cb7279
Use prefer_editor_prompt config by issue create
2024-07-09 21:01:50 +09:00
notomo
8f77b4a23f
Add issue create --editor
2024-07-09 21:01:50 +09:00
William Martin
1d38230675
Move config interfaces into gh package ( #9060 )
2024-05-10 10:39:36 +02:00
William Martin
5007c18f5f
Fix unused params across project
2024-05-07 17:50:43 +02:00
t4kamura
a6cccdf671
Add pr url pattern
2024-03-18 22:49:23 +09:00
t4kamura
2ea5f03b43
Test pr url lock
2024-03-18 22:49:07 +09:00
Andy Feller
bcdc917f08
Enhance 2nd round of issue and PR number output
2024-03-01 15:42:43 -05:00
Andy Feller
3bb5f54073
Apply first round of owner/repo#number consistency
...
This commit expands on @nobe4 initial work by bringing the owner and repository name to the most obvious issue and PR number output use cases before making a second pass for any edge cases.
2024-03-01 14:03:18 -05:00
Frederic Pillon
55d251ac51
Fix some typos raised by codespell
...
With .codespellignore containing:
aline
commitish
messag
noes
nwo
parth
prfiles
runn
timere
ue
welp
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
2024-01-17 15:34:49 +01:00
Andy Feller
c7c74dd422
Merge pull request #8342 from muzimuzhi/docs/unify-markup
...
Unify doc mark-ups
2023-12-01 09:31:36 -05:00
William Martin
e775bc64b8
Fix PR and Issue list
...
Separate the GQL and JSON decoded types that we use for queries.
2023-11-27 17:00:10 +01:00
Yukai Chou
b14da6c63f
Wrap scopes
2023-11-23 07:22:57 +08:00
Yukai Chou
afbdb945bc
Small docs tweaks
2023-11-23 07:14:38 +08:00
Yukai Chou
896101678f
Wrap cli commands in backticks uniformly
2023-11-17 01:32:00 +08:00
Yukai Chou
17d336e005
Wrap cli flags in backticks uniformly
2023-11-16 22:54:27 +08:00
Heath Stewart
7738b6187c
Add headers to all tables ( #8157 )
2023-10-20 11:20:02 +02:00
Nate Smith
6417e1c19f
Merge pull request #7859 from cli/pr-shared-prompts
...
switch to prompter in pr shared code
2023-08-18 00:48:25 -05:00
Nate Smith
a3539d4f24
use MultiSelect for metadata survey in pr, issue create
2023-08-17 15:29:47 -05:00
Nate Smith
f04e3398ed
use prompter in shared editable code
2023-08-17 11:28:01 -05:00
Nate Smith
0d3b7db495
use prompter in issue delete
2023-08-16 21:48:30 -05:00
Sam Coe
47d94f8ce7
Add --branch-repo flag
2023-07-10 08:53:44 +09:00
Sam Coe
b59f3dc29f
Rewrite issue develop command to fix numerous issues
2023-07-03 14:18:25 +09:00
Shion Ichikawa
5e8cc40f6c
Automatically fetch new branches created with issue develop ( #7589 )
2023-07-03 11:21:42 +09:00
ffalor
31ffa6b499
Alphabetically sort labels for pr/issue view ( #7587 )
2023-06-20 11:30:03 +09:00
guangwu
8587851202
chore: pkg imported more than once ( #7591 )
2023-06-19 01:55:27 +00:00
Sam Coe
e9a0b393c9
Fix flaky test
2023-05-31 11:04:06 +09:00
Heath Stewart
17679cf65f
Edit multiple issues, PRs in parallel ( #7259 )
...
Allows multiple issues or PRs to be edited in parallel, and querying for shared fields once to reduce network requests.
Co-authored-by: Sam Coe <samcoe@users.noreply.github.com>
2023-04-25 14:45:41 +02:00
Federico Guerinoni
c6a693c459
Add --template flag for issue create and pr create ( #7185 )
...
Signed-off-by: Federico Guerinoni <guerinoni.federico@gmail.com>
Co-authored-by: Alessio Cosenza <cosenzaalessio17@gmail.com>
2023-03-27 08:24:12 +00:00
Sam Coe
08a1231178
Allow retrieving projectItems in JSON and allow adding/removing user owned projects ( #7007 )
2023-02-15 22:14:59 +00:00
Sam Coe
138da0f969
Fix adding/removing projects using flags for edit commands ( #6955 )
2023-02-06 08:28:38 +11:00
Damien Sedgwick
bab1b00c39
Rename --confirm flag to --yes for various destructive commands ( #6915 )
2023-01-26 12:48:21 +01:00
Sam Coe
63ad804a26
Add notes about project scope to various commands ( #6907 )
2023-01-24 17:22:20 +00:00
Ilya Yatsishin
179e9c256d
Add projectsV2 support to issue create, issue edit, pr create, and pr edit ( #6735 )
...
Co-authored-by: pshevche <pavel.shevchenko.95@gmail.com>
Co-authored-by: Sam Coe <samcoe@users.noreply.github.com>
2023-01-19 22:13:09 +00:00
Mislav Marohnić
8d82a96349
Fix fetching issue/PR comments
...
The "Author" struct was too overloaded in different types of queries that treat struct fields in incompatible ways. This change defines a simpler CommentAuthor struct for use in comments until we can figure out how to query `... on User` information for comments too.
2022-12-23 17:14:06 +01:00
Mislav Marohnić
f8f206e063
Group PR, release, and repo subcommands
2022-12-21 14:47:59 +01:00