Skip to content

Add shell completions command #234

Closed

Description

@vadim-anfv

Describe the enhancement
Add shell completions support via a new completions subcommand, similar to how rustup completions works.
The command would generate shell completion scripts for bash, zsh, fish, powershell, and elvish using clap_complete.

Example usage:

bdk-cli completions bash > ~/.local/share/bash-completion/completions/bdk-cli
bdk-cli completions zsh > ~/.zfunc/_bdk-cli

Use case
bdk-cli has many subcommands and options. Typing out full command names gets tedious, so tab completion would make the CLI much nicer to use.

Additional context
I've already started looking into the implementation and can open a PR if this sounds good.

Activity

  1. added
    enhancement
    on Jan 2, 2026
  2. AmosOO7 commented on Jan 3, 2026

    @AmosOO7
    Contributor

    This is a good one. it will really love to see what you have done once you open a PR

  3. vadim-anfv commented on Feb 7, 2026

    @vadim-anfv
    CollaboratorAuthor

    This is a good one. it will really love to see what you have done once you open a PR

    I've opened a PR - #237.
    I would be glad if you have the opportunity to review and test!

  4. AmosOO7 commented on Feb 7, 2026

    @AmosOO7
    Contributor

    This is a good one. it will really love to see what you have done once you open a PR

    I've opened a PR - #237. I would be glad if you have the opportunity to review and test!

    Oh that is great I will review it shortly

  5. moved this to Ready to Review in BDK-CLIon Feb 23, 2026
  6. added this to the CLI 3.0.0 milestone on Feb 26, 2026
  7. moved this from Ready to Review to Done in BDK-CLIon Mar 20, 2026
  8. added a commit that references this issue on Mar 20, 2026
    5db2be7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

  • Status
    Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions