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

Option to prefix help with text #578

Closed
jez9999 opened this issue Sep 24, 2016 · 4 comments
Closed

Option to prefix help with text #578

jez9999 opened this issue Sep 24, 2016 · 4 comments
Milestone

Comments

@jez9999
Copy link

jez9999 commented Sep 24, 2016

Hi,

I would like an option to prefix the --help output with my program's banner along the top, eg.

=====
MyProgram version 1.2.3
=====

  Usage: myprogram [options]
  ... etc...

There doesn't seem to be a way to do this right now (at least not just for when the help text gets displayed) - could it be added?

@b4dnewz
Copy link

b4dnewz commented Sep 20, 2017

this will be a super feature, so you can prefix your command line tools with (for example) ASCII art like the most of cli tools out there.

Repository owner deleted a comment from kodie May 14, 2019
@shadowspawn
Copy link
Collaborator

This issue has not had any activity in over six months. It isn't likely to get acted on due to this report.

Feel free to open a new issue if it comes up again, with new information and renewed interest.

This request did get some 👍 so I appreciate there may be some interest. We already have a few help customisation options, but not something that does a "header".

Thank you for your contributions.

@shadowspawn
Copy link
Collaborator

This came up again, and I have an idea for a possible implementation:
#1023 (comment)

@shadowspawn shadowspawn added the pending release Merged into a branch for a future release, but not released yet label Sep 9, 2020
@shadowspawn shadowspawn added this to the v7.0.0 milestone Sep 9, 2020
@shadowspawn shadowspawn removed the pending release Merged into a branch for a future release, but not released yet label Jan 15, 2021
@shadowspawn
Copy link
Collaborator

See .addHelpText() in Commander 7.0.0.

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

3 participants