Skip to content

feat: Add dynamic completions in clap library#1626

Merged
gtema merged 1 commit intogtema:mainfrom
goek-han:feat/clap-dynamic-completions
Feb 3, 2026
Merged

feat: Add dynamic completions in clap library#1626
gtema merged 1 commit intogtema:mainfrom
goek-han:feat/clap-dynamic-completions

Conversation

@goek-han
Copy link
Contributor

Fixes #1432

This implements dynamic completions of clap with
https://docs.rs/clap_complete/latest/clap_complete/env/index.html.

It's an unstable-dynamic feature for clap_complete which has to be explicitly enabled. If it does not work, the fallback with the old method will be used.

@goek-han goek-han force-pushed the feat/clap-dynamic-completions branch from 0b5b389 to 1ede3f5 Compare January 25, 2026 21:39
@gtema gtema force-pushed the feat/clap-dynamic-completions branch from 1ede3f5 to 4efe5d4 Compare February 3, 2026 15:54
Fixes gtema#1432

This implements dynamic completions of clap with
https://docs.rs/clap_complete/latest/clap_complete/env/index.html.

It's an unstable-dynamic feature for clap_complete which has to be
explicitly enabled.
@gtema gtema force-pushed the feat/clap-dynamic-completions branch from 4efe5d4 to a2918b3 Compare February 3, 2026 16:15
@gtema gtema enabled auto-merge (squash) February 3, 2026 16:19
@gtema gtema disabled auto-merge February 3, 2026 16:53
@gtema gtema merged commit 210e56e into gtema:main Feb 3, 2026
19 checks passed
@gtema-release-plz gtema-release-plz bot mentioned this pull request Feb 3, 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.

fish completion not complete

2 participants

Comments