-
Notifications
You must be signed in to change notification settings - Fork 22
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
Help command #193
Comments
I'm open to your propositions for the help message format ! |
I began a branch for this here: https://github.com/pith/seed/tree/cli-help |
Hello @pith I suggest you the following. Because command description can be long. An example with openshift.
whereas
As you see a command can be quite long so listing all of them directly could cause bad behaviour. My 2 cents. |
@ejemba this was the idea. Look at this test: master...pith:cli-help#diff-0a6422aa48f46841aee827df52ef1dc3R22. This is just a start but I was planning to have 2 commands:
|
@pith nice. Did you plan to global introduction description for the Perhaps an integrated simple template system in seed elsewhere can be a good thing to format long command. |
The
CommandLinePlugin
give all theCommandLineHandler
to HelpService which extractsCommandLineDescription
.Then the
HelpCommandLineHandler
inject all theCommandLineDescription
and print a well-formated description of all commands or a specific command.The text was updated successfully, but these errors were encountered: