Skip to content

Unify CLI and Cargo.yaml content via clap macros #36

Description

@rhagenson

I noticed we are using clap for CLI. clap has macros (e.g. crate_authors!() and crate_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 as rbt?

Edit: Cargo.yaml -> Cargo.toml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions