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

Allow one to programatically trigger the help screen #3

Closed
bramus opened this issue Feb 7, 2015 · 2 comments
Closed

Allow one to programatically trigger the help screen #3

bramus opened this issue Feb 7, 2015 · 2 comments

Comments

@bramus
Copy link

bramus commented Feb 7, 2015

An extra (public) function showHelp() which triggers writeHelp() (with its proper arguments) would be nice to have.

@dpiquet
Copy link
Contributor

dpiquet commented Feb 12, 2015

I would also find it useful !

In fact i already changed Cli::writeHelp function from private to public so i can call it from my own code. Seems no other changes is required to make it work. I just have to load the appropriate schema using Cli::getSchema (which was already public) so i can give it back to the writeHelp function.

@tburry tburry closed this as completed in c798745 Feb 17, 2015
@bramus
Copy link
Author

bramus commented Feb 19, 2015

Awesome, thanks!

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