signalpoint / DrupalGap

An application development kit for Drupal websites.
https://www.drupalgap.org
GNU General Public License v2.0
232 stars 185 forks source link

help / error text for dg cli tool #999

Open zak-schlemmer opened 6 years ago

zak-schlemmer commented 6 years ago

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 commented 6 years ago

@zak-schlemmer Sounds good, thank you.