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

Help Option to display the list of available commands and their descriptions #20

Closed
chaiwa-berian opened this issue Jan 2, 2019 · 3 comments

Comments

@chaiwa-berian
Copy link
Contributor

I would like to be able to run-rs with a --help or -h or run-rs to get the list of available commands. Currently, if I just run run-rs, run-rs executes, but I would rather it displays the list of commands. So running run-rs like below should just show me the list of available commands:
run-rs

or

run-rs --help

or

run-rs -h

@vkarpov15
Copy link
Owner

Seems to work just fine for me:

$ sudo ~/Workspace/libs/node-v8.9.4-linux-x64/bin/run-rs --help

  Usage: run-rs [options]

  Options:

    -v, --version [version]  Version to use
    -k, --keep               Use this flag to skip clearing the database on startup
    -s, --shell              Use this flag to automatically open up a MongoDB shell when the replica set is started
    -q, --quiet              Use this flag to suppress any output after starting
    -h, --help               output usage information
$ 

@vkarpov15
Copy link
Owner

I'm going to close this, re-open if this is still an issue.

@chaiwa-berian
Copy link
Contributor Author

@vkarpov15, there is no way to show list of available commands. The run-rs [options] doesn't work on Windows. I wonder why and how it works on your end. The issue can be closed, it is a nice to have thing though!

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

No branches or pull requests

2 participants