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

Explore using clap #6

Merged
merged 3 commits into from Nov 19, 2022
Merged

Explore using clap #6

merged 3 commits into from Nov 19, 2022

Conversation

AljoschaMeyer
Copy link
Collaborator

This is what clap-based modules would look like. How do you feel about giving these more verbose usage instructions in the list of modules?

I will refactor everything to use clap before merging this after we settle on a style (for the readme in particular). Right now I've taken the output of extremely --help, removed the windows-specific bits, and removed the --help option.

Compilation time hasn't been noticeably affected by deriving Parser for just a single module.

For reference, here is the output of extremely --help on my machine:

$ ../target/debug/extremely --help
Linearly interpolate each sample toward +/-1

Usage: extremely.exe [T]

Arguments:
  [T]  How strongly to interpolate samples toward +/- 1 [default: 1]

Options:
  -h, --help  Print help information

@AljoschaMeyer
Copy link
Collaborator Author

Reverted (commented actually) the changes to the readme; this now simply adds clap as a dependency and changes extremely to use it.

Merging so that further pull requests can use clap.

@AljoschaMeyer AljoschaMeyer merged commit b257906 into sandreae:main Nov 19, 2022
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