Skip to content

Use clap for parsing CLI args #129

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

Merged
merged 2 commits into from
May 8, 2025

Conversation

canndrew
Copy link
Contributor

@canndrew canndrew commented May 5, 2025

Add clap as a dependency and use it to parse the command line arguments. Also add a --debug cli option to include debug symbols.

Add clap as a dependency and use it to parse the command line arguments.
Also add a --debug cli option to include debug symbols.
@apoelstra
Copy link
Contributor

Can you run cargo fmt on this? CI checks that it has been run.

Copy link
Contributor

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 8f75f35; successfully ran local tests

@apoelstra
Copy link
Contributor

Sorry for the delay -- had some trouble getting the CARGO_BIN_NAME environment variable to be set in the right place of my non-cargo local CI setup.

@apoelstra apoelstra merged commit a244127 into BlockstreamResearch:master May 8, 2025
14 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.

2 participants