feat: shell completions for bitcoin wrapper executable #33747

pull hulxv wants to merge 4 commits into bitcoin:master from hulxv:feat/bitcoin-shell-completions changing 4 files +692 −1
  1. hulxv commented at 6:09 pm on October 30, 2025: none

    Add shell (bash, fish, and zsh) completions for unified bitcoin CLI

    This PR adds comprehensive shell completion scripts for the new unified bitcoin command-line interface introduced in #31375. The completions support bash, zsh, and fish shells and provide tab completion for all available commands, options, and arguments.

    Example Usage

     0# Complete subcommands
     1bitcoin <TAB>
     2# gui  node  rpc  wallet  tx  help  bench  chainstate  test  test-gui
     3
     4# Complete RPC methods  
     5bitcoin rpc <TAB>
     6# getblockchaininfo  getbestblockhash  getblock  ...
     7
     8# Complete options
     9bitcoin node -<TAB>
    10# -datadir  -conf  -daemon  -help  -rpcport  ...
    

    Close #33603

  2. feat: add bash completion script for bitcoin commands 46e7f2cdcb
  3. feat: add fish shell completions for bitcoin commands and subcommands d33d2441dc
  4. feat: add zsh completion script for bitcoin commands 21eecacfa7
  5. feat: update README to include zsh completions in command line tools section aec403ee0d
  6. DrahtBot commented at 6:09 pm on October 30, 2025: contributor

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/33747.

    Reviews

    See the guideline for information on the review process. A summary of reviews will appear here.

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #33402 (contrib: Add zsh completion scripts by mstampfer)
    • #33385 (contrib: Add bash completion for new bitcoin command by caesrcd)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.


hulxv DrahtBot


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-11-02 18:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me