Skip to content

docs: document shell completion setup in the README - #974

Merged
xarmian merged 1 commit into
PerpetualSoftware:mainfrom
dchaudhari7177:docs/shell-completion
Jul 20, 2026
Merged

docs: document shell completion setup in the README#974
xarmian merged 1 commit into
PerpetualSoftware:mainfrom
dchaudhari7177:docs/shell-completion

Conversation

@dchaudhari7177

Copy link
Copy Markdown
Contributor

Closes #905

Adds a Shell completion section to the CLI Reference (right after the --format/--workspace note) with install one-liners for bash, zsh, fish, and PowerShell, matching the completion command's actual ValidArgs in cmd/pad/main.go.

Also mentions the dynamic completions that already ship so users know the payoff: collection args (completeCollectionNames via ValidArgsFunction in cmd/pad/cmd_item.go), --workspace (RegisterFlagCompletionFunc in cmd/pad/main.go), and --status / --priority.

Docs-only change.

Adds a Shell completion section to the CLI Reference covering install
steps for bash, zsh, fish, and PowerShell, and calls out the dynamic
completions that already exist (collection names, --workspace,
--status/--priority).

Closes PerpetualSoftware#905
@dchaudhari7177
dchaudhari7177 requested a review from xarmian as a code owner July 19, 2026 04:34
@xarmian

xarmian commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

Thanks for this, @dchaudhari7177! 🙏 Cross-checked every claim against the code — the supported shells match completion's ValidArgs, and the context-aware completion callouts (collection args, --workspace, --status/--priority) all line up with the actual ValidArgsFunction / RegisterFlagCompletionFunc wiring. Accurate and nicely placed under the CLI Reference. Merging now.

@xarmian
xarmian merged commit 69b361d into PerpetualSoftware:main Jul 20, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants