Skip to content

Shell completion [Bash]: duplicate entries generated #23

Description

@yermulnik
> . <(target completion bash)

> target<tab><tab>
boundary
boundary    (Manage Boundary context profiles)
completion  (Generate the autocompletion script for the specified shell)
config
config      (Configure target CLI for shell sessions)
consul
consul      (Manage consul context profiles)
help        (Help about any command)
nomad
nomad       (Manage Nomad context profiles)
terraform
terraform   (Manage Terraform context profiles)
vault
vault       (Manage Vault context profiles)
version
version     (Show current installed version of target-cli)

> target confi<tab><tab>
config                                             config  (Configure target CLI for shell sessions)

> target terraform l<tab><tab>
list                                                    list  (list all context profiles for your chosen tool)

Looks like all the commands suffer from this "issue".

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions