Open zak-schlemmer opened 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.
@zak-schlemmer Sounds good, thank you.
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.