Skip to content

feat: Shell autocompletion#30

Merged
hxpe-dev merged 4 commits into
hxpe-dev:mainfrom
ngtv2409:shell-autocompletion
May 3, 2026
Merged

feat: Shell autocompletion#30
hxpe-dev merged 4 commits into
hxpe-dev:mainfrom
ngtv2409:shell-autocompletion

Conversation

@ngtv2409

@ngtv2409 ngtv2409 commented May 3, 2026

Copy link
Copy Markdown
Contributor

Add clap_complete version 4.6.3.

Add subcommand completion <SHELL>. Which prints the completion script to stdout.

Update README to have a section for autocompletion.

Closes #27

@ngtv2409 ngtv2409 changed the title Shell autocompletion feat: Shell autocompletion May 3, 2026
@hxpe-dev
hxpe-dev self-requested a review May 3, 2026 14:03

@hxpe-dev hxpe-dev left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for putting this together!
I just left one tiny suggestion on cli.rs to future-proof the binary name (in case we change the Cargo.toml name in the future)
LGTM!

Comment thread src/cli.rs Outdated
@hxpe-dev
hxpe-dev merged commit f298ab1 into hxpe-dev:main May 3, 2026
1 check 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.

feat: autocompletion

2 participants