Skip to content

fix: print shell completions to stdout by default - #185

Merged
chaqchase merged 1 commit into
mainfrom
feat/completion-stdout
Oct 7, 2026
Merged

chaqchase merged 1 commit into
mainfrom
feat/completion-stdout

Conversation

@chaqchase

Copy link
Copy Markdown
Owner

lla completion <shell> promises stdout output in its help text but currently installs a file under the user's home directory. Print only the generated script when neither --path nor --output is supplied, allowing shell pipelines and package-manager completion helpers to consume it.

Explicit --path installation and --output file generation keep their existing behavior, including --output precedence. Update the handbook and add CLI regression tests for Bash, Fish, Zsh, PowerShell, and Elvish.

Validation: cargo fmt --all --check, cargo test -p lla --locked, and cargo clippy -p lla --all-targets --locked -- -D warnings.

AI assistance: Codex (GPT-6-based agent) implemented the changes and ran the validation listed above. No human verification is claimed.

@chaqchase
chaqchase merged commit 07985a7 into main Oct 7, 2026
16 checks passed
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