Skip to content

feat: add bash completion for all CLI commands, flags and collection names#164

Open
AlexZeitler wants to merge 1 commit intotobi:mainfrom
AlexZeitler:feat/bash-completion
Open

feat: add bash completion for all CLI commands, flags and collection names#164
AlexZeitler wants to merge 1 commit intotobi:mainfrom
AlexZeitler:feat/bash-completion

Conversation

@AlexZeitler
Copy link

All commands and subcommands

  • All flags per command (--json, --full, -n, -c, --collection, ...)
  • Dynamic collection name completion via qmd collection list for -c/--collection, collection remove/ rename, and ls
  • Directory completion for collection add

Installation

Current session

source completions/qmd.bash

Permanent (user)

cp completions/qmd.bash ~/.local/share/bash-completion/completions/qmd

System wide

sudo cp completions/qmd.bash /etc/bash_completion.d/qmd

@AlexZeitler AlexZeitler changed the title Add bash completion for all CLI commands, flags and collection names feat: add bash completion for all CLI commands, flags and collection names Feb 13, 2026
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.

1 participant

Comments