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

Create version flag in CLI for outputting the current module version #10

Merged
merged 2 commits into from
Jan 31, 2015
Merged

Create version flag in CLI for outputting the current module version #10

merged 2 commits into from
Jan 31, 2015

Conversation

matiassingers
Copy link
Contributor

Output the current package.json version.


One small thing, this will cause the -h/--help usage output to show an empty options list.
I opened a pull-request harthur/nomnom#55 to fix that issue.

@finnp
Copy link
Owner

finnp commented Jan 30, 2015

Nice. How about having a version command travisjs version instead of travisjs --version ?

@matiassingers
Copy link
Contributor Author

@finnp yeah of course, just didn't know if you wanted it as a command or a flag. Let me just update the PR with version command instead 😉

finnp added a commit that referenced this pull request Jan 31, 2015
Create version flag in CLI for outputting the current module version
@finnp finnp merged commit 9c19543 into finnp:master Jan 31, 2015
@finnp
Copy link
Owner

finnp commented Jan 31, 2015

Thanks. 🐝 I guess it's more common to have a flag, but it's also fine this way. And we don't have to wait for the fix to land.

@matiassingers matiassingers deleted the version-flag branch January 31, 2015 09:54
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.

2 participants