Skip to content

Add a consistent version option to all linkml command line tools #1034

@hsolbrig

Description

@hsolbrig

All Linkml command line tools should have a version function.

I'm looking at the the LinkML Tutorial, where one tests the install by running linkml-convert --help. This creates a screenfull of stuff. IMO, any linkml command line tools should be able to emit a short version line that includes the particular pypi version it came from as well as, perhaps, a link to its github data. Something similar to what goes in one of the github software version badges.

Proposal
All functions include "-V / --version", and we create a bit of common code that formats the information. Might even consider doing something clever with the terminal fonts and coloration :-)

Priority
Not essential, but would add to the consistency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Low severityIssue could cause delays or confusion but a user can work arounddocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions