ProtecteddebugStaticaliasesAn array of aliases for this command.
StaticargsAn order-dependent object of arguments for the command
StaticbaseStatic OptionaldeprecateEmit deprecation warning when a command alias is used
Static OptionaldeprecationStaticdescriptionA full description of how to use the command.
If no summary, the first line of the description will be used as the summary.
StaticenableStaticexamplesAn array of examples to show at the end of the command's help.
IF only a string is provided, it will try to look for a line that starts with the cmd.bin as the example command and the rest as the description. If found, the command will be formatted appropriately.
EXAMPLES:
A description of a particular use case.
$ <%= config.bin => command flags
StaticflagsA hash of flags for the command
StatichasStatichelpStatichiddenHide the command from help
StatichiddenAn array of aliases for this command that are hidden from help.
StaticidA command ID, used mostly in error or verbose reporting.
StaticpluginStatic Optional ReadonlypluginStatic Optional ReadonlypluginStatic Optional ReadonlypluginStatic OptionalstateMark the command as a given state (e.g. beta or deprecated) in help
StaticstrictWhen set to false, allows a variable amount of arguments
Static OptionalsummaryThe tweet-sized description for your class, used in a parent-commands sub-command listing and as the header for the command help.
StaticusageAn override string (or strings) for the default usage documentation.
Protected_ProtectedcatchOptionaloptions: { code?: string; exit?: number } & PrettyPrintableErrorOptionalcode: numberProtectedfinallyProtectedinitDetermine if the command is being run with the --json flag in a command that supports it.
true if the command supports json and the --json flag is present
Optionalmessage: stringProtectedlogOptionalmessage: stringProtectedparseactual command run code goes here
ProtectedtoProtectedtoProtectedwarnProtectedwarnStaticrun
Serializes MsgResource objects to XLIFF 2.2 files in l10n/xliff on a per-project basis.