Skip to content
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

Add new VERSION command #220

Closed
gjwgit opened this issue May 2, 2021 · 1 comment
Closed

Add new VERSION command #220

gjwgit opened this issue May 2, 2021 · 1 comment
Assignees
Labels
ready This is ready to be implemented
Projects

Comments

@gjwgit
Copy link
Collaborator

gjwgit commented May 2, 2021

Currently --version will report the package version when the argument to ml is a package name

$ ml bing --version
bing version 0.1.0

I think this is the only ml command that allows the package name as the first parameter. This exception to the general rule is problematic.

Add a new mlhub command, VERSION, to report the package version.

Without a package name it should report the mlhub version.

$ ml version bing
bing version 0.1.0

$ ml version
mlhub version 3.8.4
@gjwgit gjwgit created this issue from a note in Kanban (To do) May 2, 2021
@gjwgit gjwgit added the ready This is ready to be implemented label May 2, 2021
@gjwgit
Copy link
Collaborator Author

gjwgit commented May 20, 2021

Also, remove "-v" but keep "--version" for the mlhub command. This then allows "-v" to be utilised by packages, for example, as a shortcut for --verbose.

@JingjingShii JingjingShii moved this from To do to In progress in Kanban May 21, 2021
@JingjingShii JingjingShii self-assigned this May 21, 2021
@JingjingShii JingjingShii moved this from In progress to Review in Kanban May 21, 2021
@gjwgit gjwgit closed this as completed May 21, 2021
Kanban automation moved this from Review to Done May 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready This is ready to be implemented
Projects
Development

No branches or pull requests

2 participants