Skip to content

Add --version flag #378

@cmungall

Description

@cmungall

As per https://clig.dev/ we should have a --version flag on generator and other commands. This should display the linkml version - perhaps also runtime.

not sure how to implement this:

>>> import linkml
RDFLib Version: 5.0.0
>>> linkml.__version__
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'linkml' has no attribute '__version__'

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions