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

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 5 replies

You must be logged in to vote
5 replies
@grempe

@c4spar

@callumgare

@c4spar

@callumgare

Answer selected by c4spar

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
4 participants