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 version output to CLI #5

Closed
jlblcc opened this issue Oct 6, 2014 · 4 comments
Closed

Add version output to CLI #5

jlblcc opened this issue Oct 6, 2014 · 4 comments
Labels
enhancement Improve or modify an existing feature

Comments

@jlblcc
Copy link
Member

jlblcc commented Oct 6, 2014

It would be useful to add support for -v or --version

@jlblcc jlblcc added the enhancement Improve or modify an existing feature label Oct 6, 2014
@stansmith907
Copy link
Contributor

Sounds simple enough –

  1. We were using -v as the alias for --validation. Not being able to come up with good non-v word for validation, I dropped the alias for validation.
  2. I assume if version is requested, no other output would be returned? All other options are ignored?

@stansmith907
Copy link
Contributor

And one more thing -

In the current CLI the input file is required. The file is part of the input parameters, not an option. To cleanly get a version it might require a new action.

Currently =>

$ mdtranslator translate filename --options

Might need something like =>

$ mdtranslator version

@jlblcc
Copy link
Member Author

jlblcc commented Oct 10, 2014

Might need something like =>
$ mdtranslator version

Yeah that should work fine - as long as there's a way to get it. Also need to make sure version is included in the help output.

@stansmith907
Copy link
Contributor

Added as

$ mdtranslator version

Bumped version to 0.8.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve or modify an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants