Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add basic branch-completion #10838

Merged
merged 1 commit into from
Nov 1, 2019
Merged

add basic branch-completion #10838

merged 1 commit into from
Nov 1, 2019

Conversation

nammn
Copy link

@nammn nammn commented Oct 31, 2019

Missing

  • check whether we want to remove the autogenerated commandline options,
  • support for track

Description of change

adds basic branch completion

QA steps

source $GOPATH/src/github.com/juju/juju/etc/bash_completion.d
juju branch

~/golang/src/github.com/juju/juju/etc/bash_completion.d branch-completion*
❯ juju branch <tab>
bla                 -h                  --logging-config    --model             --quiet             test                --verbose                                                                 
--debug             --help              -m                  --no-browser-login  --show-log          testest                                                                                   
~/golang/src/github.com/juju/juju/etc/bash_completion.d branch-completion*
❯ juju branch tes <tab>
test     teste

same as above for
juju abort
juju add-branch

juju track

06:13:50 nam@nams-canon bash_completion.d ±|branch-completion ✗|→ juju track 
bla                 -h                  --logging-config    --model             --quiet             test                ubuntu              ubuntu/1            --verbose           
--debug             --help              -m                  --no-browser-login  --show-log          testest             ubuntu/0            ubuntu/2     

@SimonRichardson
Copy link
Member

$$merge$$

@jujubot jujubot merged commit 5e3560e into juju:develop Nov 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants