Command.usage

Gets the usage string for this command.

class Command
const
string
usage
(
bool colors = false
)

Parameters

colors bool

Whether to use colors in the usage string.

Throws

AssertionError if command chain is null or empty, or if first command is not a Program.