Skip to content

Conversation

@AlexJones0
Copy link

Resolves #79.

Note that, rather than using the default hard-coded version, this PR instead uses importlib.metadata to get version information about the dvsim package itself, as that is what most users will probably be expecting.

Rather than using the default non-configured hardcoded version, use
`importlib.metadata` to get version information about the dvsim package
itself, as that is what most users will be expecting.

Make sure that for the main `run` argparse CLI we can use `--version`
without needing to supply a HJSON configuration file. Add the
`--version` flag to the `admin` click CLI also.

Signed-off-by: Alex Jones <alex.jones@lowrisc.org>
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.

CLI does not correctly report version

1 participant