-
Notifications
You must be signed in to change notification settings - Fork 22
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
Unify CLI and Cargo.yaml content via clap macros #36
Comments
I think using the clap macros is a no-brainer, helping stuff stay in sync. Regarding the |
@dlaehnemann, with the macro use being a no brainer I will work on a PR for it. Further thought has me thinking keeping the |
I noticed we are using clap for CLI. clap has macros (e.g.
crate_authors!()
andcrate_version!()
) to pull content from Cargo.toml to ensure these two are not out of sync. Is there interest in me working on this unification?Related note: is there a reason the command name (
rbt
) and the package name (rust-bio-tools
) are not unified? I have found this dual-naming can cause unnecessary confusion on how exactly to reference the tool. As I unify the CLI to pull from Cargo.toml would there be interest in me unifying this dual-naming strictly within the repo -- i.e., not changing the repos name, but rather the package.name in Cargo.toml and changing the name used at the CLI so it is always referred to asrbt
?Edit: Cargo.yaml -> Cargo.toml
The text was updated successfully, but these errors were encountered: