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 / error text for dg cli tool #999

Open
zak-schlemmer opened this issue Dec 20, 2017 · 1 comment
Open

help / error text for dg cli tool #999

zak-schlemmer opened this issue Dec 20, 2017 · 1 comment

Comments

@zak-schlemmer
Copy link
Contributor

If you simply run ./dg with no arguments you should get a list of available commands.
I did this for robot:
https://github.com/zak-schlemmer/robot/blob/master/src/robot.sh#L532-L553
You can then have the main function, and sub functions that will show help text specific to the command.
https://github.com/zak-schlemmer/robot/blob/master/src/help.functions.sh
I would be happy to PR this in if you wish.
moov lappy -robot dev-growmobot-app_002

@signalpoint
Copy link
Owner

@zak-schlemmer Sounds good, thank you.

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