We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As far as I can see to define CLI version you do this
import sade from 'sade' const CLI = sade('latitude') CLI.version('1.2.3')
Then that shows
latitude 1.2.3
It's fine but our CLI install a nodejs server that we call the app. We would like to show both versions. CLI and app versions. Something like this:
So far we manage to hack sade by overriding _version private function
_version
CLI['_version'] = versionCommand
But this is not ideal. I think it would be nice if .version method allows a function
.version
CLI.version(versionCommand)
I'm open to make this change if you consider is a good idea.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What?
As far as I can see to define CLI version you do this
Then that shows
It's fine but our CLI install a nodejs server that we call the app. We would like to show both versions. CLI and app versions. Something like this:
So far we manage to hack sade by overriding
_version
private functionBut this is not ideal. I think it would be nice if
.version
method allows a functionI'm open to make this change if you consider is a good idea.
The text was updated successfully, but these errors were encountered: