Skip to content

How to show help/usage message on default run of cliffy CLI #179

Answered by c4spar
grempe asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @grempe,

you can use cmd.showHelp(). It prints the help text to stdout and there is also a .getHelp() method which returns the help text as string.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@grempe
Comment options

@c4spar
Comment options

Answer selected by c4spar
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants