Bash completion for the new bitcoin wrapper command #33383

pull caesrcd wants to merge 1 commits into bitcoin:master from caesrcd:completion changing 1 files +96 −0
  1. caesrcd commented at 0:07 am on September 13, 2025: none

    This PR adds a bash completion script for the new bitcoin command-line tool (introduced in #31375), which unifies the main Bitcoin Core executables under a single interface. This feature improves usability, reduces errors, and makes the command-line tools more easily discoverable for users working in a Linux bash environment.

    The completion script dynamically lists available commands and options by parsing bitcoin --help and bitcoin help. It also incorporates the existing bash completions for bitcoind, bitcoin-cli, and bitcoin-tx, depending on the argument provided (node, rpc, or tx). This ensures that all relevant completions are available seamlessly through a single interface without modifying core functionality.

    No functional changes to core code are introduced; this is an optional enhancement placed under contrib/ for easy installation and use.

    Note:
    This PR was created as a follow-up to #33382, which was automatically closed by DrahtBot immediately after submission. This version provides a more detailed description to ensure proper review and integration.

  2. Bash programmable completion for bitcoin(1) wrapper d420b8770c
  3. DrahtBot commented at 0:07 am on September 13, 2025: contributor
    ♻️ Automatically closing for now based on heuristics. Please leave a comment, if this was erroneous. Generally, please focus on creating high-quality, original content that demonstrates a clear understanding of the project’s requirements and goals.
  4. DrahtBot closed this on Sep 13, 2025

  5. DrahtBot commented at 0:08 am on September 13, 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/33383.

    Reviews

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

    LLM Linter (✨ experimental)

    Possible typos and grammar issues:

    • senseful -> sensible [“senseful” is nonstandard; “sensible” is the correct word here]

    drahtbot_id_5_m

  6. caesrcd commented at 3:19 am on September 13, 2025: none

    DrahtBot closed this PR automatically (similar to my previous attempt in #33382), but I have since updated the commit with a detailed and properly formatted message: caesrcd/bitcoin@f03423f

    Could this PR please be reopened for review?

  7. fanquake commented at 7:21 am on September 13, 2025: member
    @caesrcd It’s no-longer possible to reopen this PR, as you’ve pushed to the branch since it was closed. You’ll need to open a new (third) one. Apologies about the bot. You can see the kind of heuristics it’s using to determine PR closures, here: https://github.com/maflcko/DrahtBot/blob/14ccfd94bc7cc584e547e09582373cb87a0e4553/webhook_features/src/features/spam_detection.rs#L118.
  8. caesrcd commented at 3:47 pm on September 13, 2025: none

    @fanquake I opened a new (third) PR: #33385 Unfortunately, the bot closed it again, likely due to the same heuristic applied to the previously closed PRs (first-time contributor + new file).

    However, as requested, the third PR has been created from a new branch. If possible, I kindly ask that this new PR be reopened.

  9. bitcoin locked this on Sep 15, 2025

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-09-26 15:13 UTC

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