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

Transition CLI interface to compile-time construction #55

Open
alilleybrinker opened this issue May 8, 2024 · 0 comments · May be fixed by #79
Open

Transition CLI interface to compile-time construction #55

alilleybrinker opened this issue May 8, 2024 · 0 comments · May be fixed by #79
Assignees
Labels
type: enhancement New feature or request
Milestone

Comments

@alilleybrinker
Copy link
Collaborator

clap, which we use to define our CLI interface, has two mechanisms you can use for that definition. Currently, we use the runtime mechanism, but it would be better if we used the compile time mechanism. You trade-off a bit for a slower compile time to do the code generation, but you get compile-time validation that the CLI is correct, and it's generally more predictable and less error-prone than the way we do it today.

@alilleybrinker alilleybrinker added the type: enhancement New feature or request label May 8, 2024
@alilleybrinker alilleybrinker added this to the 3.3.0 milestone May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants