Supports branch name completion for --parent options
Addressed https://github.com/aviator-co/av/issues/285
I confirmed it locally like the below ref: https://github.com/spf13/cobra/blob/main/site/content/completions/_index.md#debugging-1
$ go build -o av ./cmd/av/
$ ./av __complete stack branch --parent ""
issue-244-br-1
test-2
issue-244-test
new-one
issue-244
new-1
test-1
fuga-11
issue-236
:0
Completion ended with directive: ShellCompDirectiveDefault
$ ./av __complete stack sync --parent ""
fuga-11
issue-236
test-1
test-2
new-one
issue-244
new-1
issue-244-test
issue-244-br-1
:0
Completion ended with directive: ShellCompDirectiveDefault
Current Aviator status
Aviator will automatically update this comment as the status of the PR changes. Comment
/aviator refreshto force Aviator to re-examine your PR (or learn about other/aviatorcommands).
This PR was merged using Aviator.
FlexReview Summary
Based on the code complexity and the author's expertise score, these are the suggested reviewers:
-
@draftcode(current review load: 2)
See the list of alternate reviewers in the detailed breakdown below.
Detailed Breakdown
Author’s expertise score for the modified files:-
cmd/av/stack_branch.go(0.00) -
cmd/av/stack_sync.go(0.00)
| Files | Reviewers |
|---|---|
cmd/av/stack_branch.go † |
@draftcode (score: 1.00, current review load: 2),@doratzeng (score: 0.03, current review load: 2),@jainankit (score: 0.03, current review load: 9) |
† Indicates that the file doesn't need an expert review. (?)
See full breakdown of the reviewers on the Aviator webapp.