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

[modular] Decouple help generation from clap #2913

Open
2 tasks done
epage opened this issue Oct 19, 2021 · 0 comments
Open
2 tasks done

[modular] Decouple help generation from clap #2913

epage opened this issue Oct 19, 2021 · 0 comments
Assignees
Labels
A-builder Area: Builder API C-enhancement Category: Raise on the bar on expectations E-medium Call for participation: Experience needed to fix: Medium / intermediate

Comments

@epage
Copy link
Member

epage commented Oct 19, 2021

Please complete the following tasks

  • I have searched the discussions
  • I have searched the existing issues

Clap Version

master

Describe your use case

We are looking to modular clap

  • We can look for opportunities to shrink clap
  • We can share logic with other argument parsers

One aspect of this will be to have a general reflection API. A good stepping stone test case is for help generation to not depend on clap but a clap_reflect. This will allow us to test the reflection API out before making it public.

Describe the solution you'd like

  1. Create an internal reflection API in clap
  2. Port the help generation to it
  3. Work to move these out into a clap_reflect and clap_help crates

Alternatives, if applicable

No response

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-builder Area: Builder API C-enhancement Category: Raise on the bar on expectations E-medium Call for participation: Experience needed to fix: Medium / intermediate
Projects
None yet
Development

No branches or pull requests

1 participant