/** Returns the optional text lines to use as the description of the help message, displayed between the synopsis and the * options list. Initialized from {@link Command#description()} if the {@code Command} annotation is present, * otherwise this is an empty array and the help message has no description. * Applications may programmatically set this field to create a custom help message. */ public String[] description() { return arr(resourceArr("usage.description"), description, DEFAULT_MULTI_LINE); }
/** Returns the optional custom synopsis lines to use instead of the auto-generated synopsis. * Initialized from {@link Command#customSynopsis()} if the {@code Command} annotation is present, * otherwise this is an empty array and the synopsis is generated. * Applications may programmatically set this field to create a custom help message. */ public String[] customSynopsis() { return arr(resourceArr("usage.customSynopsis"), customSynopsis, DEFAULT_MULTI_LINE); }
/** Returns the optional footer text lines displayed at the bottom of the help message. Initialized from * {@link Command#footer()} if the {@code Command} annotation is present, otherwise this is an empty array and * the help message has no footer. * Applications may programmatically set this field to create a custom help message. */ public String[] footer() { return arr(resourceArr("usage.footer"), footer, DEFAULT_MULTI_LINE); }
/** Returns the optional header lines displayed at the top of the help message. For subcommands, the first header line is * displayed in the list of commands. Values are initialized from {@link Command#header()} * if the {@code Command} annotation is present, otherwise this is an empty array and the help message has no * header. Applications may programmatically set this field to create a custom help message. */ public String[] header() { return arr(resourceArr("usage.header"), header, DEFAULT_MULTI_LINE); }
/** Returns the optional footer text lines displayed at the bottom of the help message. Initialized from * {@link Command#footer()} if the {@code Command} annotation is present, otherwise this is an empty array and * the help message has no footer. * Applications may programmatically set this field to create a custom help message. */ public String[] footer() { return arr(resourceArr("usage.footer"), footer, DEFAULT_MULTI_LINE); }
/** Returns the optional header lines displayed at the top of the help message. For subcommands, the first header line is * displayed in the list of commands. Values are initialized from {@link Command#header()} * if the {@code Command} annotation is present, otherwise this is an empty array and the help message has no * header. Applications may programmatically set this field to create a custom help message. */ public String[] header() { return arr(resourceArr("usage.header"), header, DEFAULT_MULTI_LINE); }
/** Returns the optional text lines to use as the description of the help message, displayed between the synopsis and the * options list. Initialized from {@link Command#description()} if the {@code Command} annotation is present, * otherwise this is an empty array and the help message has no description. * Applications may programmatically set this field to create a custom help message. */ public String[] description() { return arr(resourceArr("usage.description"), description, DEFAULT_MULTI_LINE); }
/** Returns the optional custom synopsis lines to use instead of the auto-generated synopsis. * Initialized from {@link Command#customSynopsis()} if the {@code Command} annotation is present, * otherwise this is an empty array and the synopsis is generated. * Applications may programmatically set this field to create a custom help message. */ public String[] customSynopsis() { return arr(resourceArr("usage.customSynopsis"), customSynopsis, DEFAULT_MULTI_LINE); }