Skip to content

Add Support For Title? #46

Closed
Closed

Description

@busticated

Hey there -
Wondering if there's a way to set a title for the help screen - something like:

< misc title text goes here >

Usage: log [options]

Options:

  -h, --help         output usage information
  -V, --version      output the version number
  -a, --addr <addr>  bind to the given address

Right now i'm using the .on('--help') option to include it... but it puts it down below the instructions (oh, the horror!)...

Thanks!
-matt

p.s. I realize this is a fairly superfluous feature so feel free to file / ignore accordingly!

Activity

  1. thethomaseffect commented on Jul 20, 2014

    @thethomaseffect
    Collaborator

    Generally you should aim to make your CLI look as standard as possible e.g. cd: usage: cd [-L|[-P [-e]] [-@]] [dir]. If you don't want to you should overwrite with your own custom help. I understand you probably wouldn't like updating your custom help every time the API changes but I don't think a lot of people would use this.

  2. added this to the v7.0.0 milestone on Sep 9, 2020
  3. added
    pending release
    on Sep 9, 2020
  4. removed
    pending release
    on Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions