Internal_InternalOptionalextraAttrs: any[]Register a custom CLI option. Call this in your subclass constructor before invoking Options#parse.
the long option name (without --)
the option definition
Build the help text from all registered option definitions.
Return the description printed below the usage line in --help.
Return the usage line, description, and "Options:" header printed above the options list in --help.
Assembled from Options#getUsageLine and Options#getHelpDescription; override those
instead where possible. Override this method directly only as a last resort, e.g. to drop the
"Options:" header or restructure the preamble entirely.
Return the program name shown in the --help usage line.
Override this for the common case of wrapping this CLI under a different command name.
Return the usage line printed at the top of --help (e.g., asciidoctor [options...] files...).
Override to change the argument summary; override Options#getProgramName to only change the name.
Parse the command-line arguments. Populates Options#values, Options#positionals, Options#stdin, Options#options, and Options#failureLevel.
the process arguments (typically process.argv)
Parses command-line arguments and builds Asciidoctor convert options. Extend this class to add custom options via Options#addOption.