Skip to content

[RFC] New help message stlye #8

@BigBoyBarney

Description

@BigBoyBarney

Hi! Thank you for this package! It's really cool!

I've been tinkering a bit with the help message to make it look a bit more friendly.

Currently, help messages look like this:

configure -n | --name string
authorise
decrypt -i|--input string [-o|-- output string] [--r bool]

I knocked out a quick prototype, but before I spend time properly implementing it, what do you think of the following?

Usage:
	my_app <command> [options]

Commands:
	configure    -n|--name string
	authorise
	decrypt      -i|--input string [-o|-- output string] [--r bool]

Or even

Usage:
	my_app <command> [options]

Commands:
	configure    Configures XYZ
	authoriss    Gets authorisation token
	decrypt      Decrypts game files

Options:
	global options would go here

And then when printing help message for specific command, it would then replace the usage and options parts accordingly.


Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions