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 help option #5

Merged
merged 4 commits into from Aug 11, 2017
Merged

Add help option #5

merged 4 commits into from Aug 11, 2017

Conversation

Krenair
Copy link
Contributor

@Krenair Krenair commented Aug 9, 2017

No description provided.

src/cli.js Outdated
@@ -466,5 +466,14 @@ function start (dAuth) {
}

module.exports = function cli (authDir) {
start(auth.getAuth(authDir));
if (argv.help) {
console.log('Help for Tourbot v0.9.4');
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you use package.json here? Should be straight forward with require() from package.json.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean to pull the version number from package.json?

Copy link
Owner

@Krinkle Krinkle Aug 11, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, exactly.

@Krinkle Krinkle merged commit 581e7ca into Krinkle:master Aug 11, 2017
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.

None yet

2 participants