Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show arg/command descriptions in dynamic completions #5056

Merged
merged 5 commits into from
Aug 7, 2023

Conversation

ModProg
Copy link
Contributor

@ModProg ModProg commented Jul 31, 2023

based on #5048

@epage epage changed the title dynamic completions help Show arg/command descriptions in dynamic completions Jul 31, 2023
@ModProg ModProg force-pushed the dynamic-completions-help branch from 7dc6e41 to 16ded80 Compare July 31, 2023 18:43
@ModProg ModProg force-pushed the dynamic-completions-help branch from 3ef0467 to 49b6116 Compare July 31, 2023 19:36
@ModProg
Copy link
Contributor Author

ModProg commented Jul 31, 2023

the dedup thing seams to be a rust-analyzer bug.

@ModProg ModProg force-pushed the dynamic-completions-help branch from 49b6116 to 71ce87c Compare August 1, 2023 11:44
@ModProg ModProg force-pushed the dynamic-completions-help branch from 71ce87c to 863a88b Compare August 3, 2023 09:19
@ModProg
Copy link
Contributor Author

ModProg commented Aug 3, 2023

It would be nice if the snapshots from the completion output were snapshot files as well, would make updating easier.

@ModProg ModProg force-pushed the dynamic-completions-help branch from 863a88b to f7f7803 Compare August 3, 2023 09:42
@ModProg ModProg force-pushed the dynamic-completions-help branch from f7f7803 to b524634 Compare August 3, 2023 09:51
@epage
Copy link
Member

epage commented Aug 3, 2023

It would be nice if the snapshots from the completion output were snapshot files as well, would make updating easier.

I'm hoping to one day support in-code snapshot updating

Also, most tests should be on the shell-agnostic code. The shell-specific code should mostly be tested to ensure shell integration works

@ModProg ModProg force-pushed the dynamic-completions-help branch from c9faaa4 to e0eb645 Compare August 3, 2023 18:21
@ModProg ModProg force-pushed the dynamic-completions-help branch from e0eb645 to 65b9c2b Compare August 7, 2023 06:47
@ModProg ModProg force-pushed the dynamic-completions-help branch from 4bf88cb to aa3f47c Compare August 7, 2023 07:03
@ModProg ModProg requested a review from epage August 7, 2023 07:29
@epage
Copy link
Member

epage commented Aug 7, 2023

Thanks for all of your work on this!

@epage epage merged commit fe04b3c into clap-rs:master Aug 7, 2023
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.

2 participants