av icon indicating copy to clipboard operation
av copied to clipboard

Supports branch name completion for --parent options

Open Konboi opened this issue 1 year ago • 2 comments

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

Konboi avatar May 17 '24 12:05 Konboi

Current Aviator status

Aviator will automatically update this comment as the status of the PR changes. Comment /aviator refresh to force Aviator to re-examine your PR (or learn about other /aviator commands).

This PR was merged using Aviator.


See the real-time status of this PR on the Aviator webapp.
Use the Aviator Chrome Extension to see the status of your PR within GitHub.

aviator-app[bot] avatar May 17 '24 12:05 aviator-app[bot]

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.

aviator-app[bot] avatar May 17 '24 12:05 aviator-app[bot]