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

Add CLI apps, and a flags library #15

Merged
merged 8 commits into from
Jul 11, 2024
Merged

Add CLI apps, and a flags library #15

merged 8 commits into from
Jul 11, 2024

Conversation

mcy
Copy link
Owner

@mcy mcy commented Jun 27, 2024

This change adds best::app, which is best's main() replacement. It also beings in best::cli and best::parse_flags, which provide a structured mechanism for defining and parsing complex command-line flags.

This change includes a binary, //best/cli:toy, which demonstrates all of the flag parser's features.

It also includes some new integer parsing APIs, and gives the unit testing framework a flags struct: unit test can finally be filtered by name!

@mcy mcy marked this pull request as ready for review July 11, 2024 23:29
@mcy mcy changed the title WIP: CLI Apps, Flags library Add CLI apps, and a flags library Jul 11, 2024
@mcy mcy merged commit 3b14093 into main Jul 11, 2024
3 checks 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.

None yet

1 participant