Uses of Class
com.github.rvesse.airline.model.GlobalMetadata
Packages that use GlobalMetadata
Package
Description
-
Uses of GlobalMetadata in com.github.rvesse.airline
Fields in com.github.rvesse.airline declared as GlobalMetadataModifier and TypeFieldDescriptionprivate GlobalMetadata<C> HelpOption.globalMetadataprivate final GlobalMetadata<C> Cli.metadataMethods in com.github.rvesse.airline that return GlobalMetadataConstructors in com.github.rvesse.airline with parameters of type GlobalMetadata -
Uses of GlobalMetadata in com.github.rvesse.airline.examples.cli.commands
Fields in com.github.rvesse.airline.examples.cli.commands declared as GlobalMetadataModifier and TypeFieldDescriptionprivate GlobalMetadata<ExampleRunnable> BashCompletion.globalprivate GlobalMetadata<ExampleRunnable> Help.globalprivate GlobalMetadata<ExampleRunnable> Manuals.global -
Uses of GlobalMetadata in com.github.rvesse.airline.help
Fields in com.github.rvesse.airline.help declared as GlobalMetadataMethods in com.github.rvesse.airline.help with parameters of type GlobalMetadataModifier and TypeMethodDescriptionstatic <T> voidHelp.help(GlobalMetadata<T> global, List<String> commandNames) Displays plain text format program help to standard outstatic <T> voidHelp.help(GlobalMetadata<T> global, List<String> commandNames, boolean includeHidden) Displays plain text format program help to standard outstatic <T> voidHelp.help(GlobalMetadata<T> global, List<String> commandNames, boolean includeHidden, OutputStream out) Displays plain text format program help to the given output streamstatic <T> voidHelp.help(GlobalMetadata<T> global, List<String> commandNames, OutputStream out) Displays plain text format program help to the given output streamvoidCommandGroupUsageGenerator.usage(GlobalMetadata<T> global, CommandGroupMetadata[] groups) Generate the help and output it on standard outvoidCommandGroupUsageGenerator.usage(GlobalMetadata<T> global, CommandGroupMetadata[] groups, OutputStream output) Generate the help and output it to the streamvoidGlobalUsageGenerator.usage(GlobalMetadata<T> global) Generate the help and output it on standard outvoidGlobalUsageGenerator.usage(GlobalMetadata<T> global, OutputStream output) Generate the help and output it to the stream -
Uses of GlobalMetadata in com.github.rvesse.airline.help.cli
Methods in com.github.rvesse.airline.help.cli with parameters of type GlobalMetadataModifier and TypeMethodDescriptionprotected voidCliGlobalUsageGenerator.outputCommandList(UsagePrinter out, GlobalMetadata<T> global) Outputs a documentation section listing the commandsprotected voidCliGlobalUsageSummaryGenerator.outputCommandList(UsagePrinter out, GlobalMetadata<T> global) Outputs a documentation section listing the common commands and groupsprotected voidCliCommandGroupUsageGenerator.outputDescription(UsagePrinter out, GlobalMetadata<T> global, CommandGroupMetadata[] groups) Outputs a description of the groupprotected voidCliGlobalUsageGenerator.outputDescription(UsagePrinter out, GlobalMetadata<T> global) Outputs a documentation section with a description of the CLIprotected voidCliGlobalUsageSummaryGenerator.outputFooter(UsagePrinter out, GlobalMetadata<T> global) Outputs a documentation section detailing how to get more helpprotected voidCliGlobalUsageGenerator.outputGroupCommandsList(UsagePrinter out, GlobalMetadata<T> global, List<CommandGroupMetadata> groups) protected voidCliCommandGroupUsageGenerator.outputOptions(UsagePrinter out, GlobalMetadata<T> global, CommandGroupMetadata[] groups) Outputs a documentation section detailing the available options and their usagesprotected voidCliCommandGroupUsageGenerator.outputSynopsis(UsagePrinter out, GlobalMetadata<T> global, CommandGroupMetadata[] groups) Outputs a documentation section detailing a usage synopsisprotected voidCliGlobalUsageGenerator.outputSynopsis(UsagePrinter out, GlobalMetadata<T> global) Outputs a documentation section with a synopsis of CLI usageprotected voidCliGlobalUsageSummaryGenerator.outputSynopsis(UsagePrinter out, GlobalMetadata<T> global) Outputs a documentation section with a brief synopsis of usageprotected voidCliGlobalUsageGenerator.outputUserAliases(UsagePrinter out, GlobalMetadata<T> global, UserAliasesSource<T> userAliases) protected voidCliCommandGroupUsageGenerator.usage(GlobalMetadata<T> global, CommandGroupMetadata[] groups, UsagePrinter out) protected voidCliGlobalUsageGenerator.usage(GlobalMetadata<T> global, UsagePrinter out) voidCliGlobalUsageSummaryGenerator.usage(GlobalMetadata<T> global, UsagePrinter out) -
Uses of GlobalMetadata in com.github.rvesse.airline.help.cli.bash
Methods in com.github.rvesse.airline.help.cli.bash with parameters of type GlobalMetadataModifier and TypeMethodDescriptionprivate voidBashCompletionGenerator.generateCommandCompletionFunction(Writer writer, GlobalMetadata<T> global, CommandGroupMetadata group, CommandMetadata command) private voidBashCompletionGenerator.generateCommandFunctions(GlobalMetadata<T> global, Writer writer) private voidBashCompletionGenerator.generateGroupCompletionFunction(Writer writer, GlobalMetadata<T> global, CommandGroupMetadata group) private voidBashCompletionGenerator.generateGroupFunctions(GlobalMetadata<T> global, Writer writer) voidBashCompletionGenerator.usage(GlobalMetadata<T> global, OutputStream output) private voidBashCompletionGenerator.writeCommandCase(Writer writer, GlobalMetadata<T> global, CommandGroupMetadata group, CommandMetadata command, int indent, boolean isNestedFunction) private voidBashCompletionGenerator.writeCommandFunctionCall(Writer writer, GlobalMetadata<T> global, CommandGroupMetadata group, CommandMetadata command, int indent) private voidBashCompletionGenerator.writeCommandFunctionName(Writer writer, GlobalMetadata<T> global, CommandGroupMetadata group, CommandMetadata command, boolean declare) private voidBashCompletionGenerator.writeFunctionName(Writer writer, GlobalMetadata<T> global, boolean declare) private voidBashCompletionGenerator.writeGroupCase(Writer writer, GlobalMetadata<T> global, CommandGroupMetadata group, int indent) private voidBashCompletionGenerator.writeGroupFunctionCall(Writer writer, GlobalMetadata<T> global, CommandGroupMetadata group, int indent) private voidBashCompletionGenerator.writeGroupFunctionName(Writer writer, GlobalMetadata<T> global, CommandGroupMetadata group, boolean declare) -
Uses of GlobalMetadata in com.github.rvesse.airline.help.common
Methods in com.github.rvesse.airline.help.common with parameters of type GlobalMetadataModifier and TypeMethodDescriptionprotected voidAbstractGlobalUsageGenerator.findHelpSections(GlobalMetadata<T> global, List<HelpSection> preSections, List<HelpSection> postSections) Finds the help sectionsvoidAbstractCommandGroupUsageGenerator.usage(GlobalMetadata<T> global, CommandGroupMetadata[] groups) voidAbstractGlobalUsageGenerator.usage(GlobalMetadata<T> global) protected abstract voidAbstractPrintedCommandGroupUsageGenerator.usage(GlobalMetadata<T> global, CommandGroupMetadata[] groups, UsagePrinter out) Generate the help and output is using the providedUsagePrintervoidAbstractPrintedCommandGroupUsageGenerator.usage(GlobalMetadata<T> global, CommandGroupMetadata[] groups, OutputStream out) protected abstract voidAbstractPrintedGlobalUsageGenerator.usage(GlobalMetadata<T> global, UsagePrinter out) Generate the help and output is using the providedUsagePrintervoidAbstractPrintedGlobalUsageGenerator.usage(GlobalMetadata<T> global, OutputStream out) -
Uses of GlobalMetadata in com.github.rvesse.airline.help.man
Methods in com.github.rvesse.airline.help.man with parameters of type GlobalMetadataModifier and TypeMethodDescriptionprotected FileOutputStreamManMultiPageGlobalUsageGenerator.createCommandFile(GlobalMetadata<T> global, String[] groupNames, CommandMetadata command) protected StringManGlobalUsageGenerator.getCommandName(GlobalMetadata<T> global, String[] groupNames, CommandMetadata command) Gets the display name for a commandprotected voidManGlobalUsageGenerator.outputCommandList(TroffPrinter printer, GlobalMetadata<T> global) Outputs a documentation section that lists the available commandsprotected voidManGlobalUsageGenerator.outputCommandUsages(OutputStream output, TroffPrinter printer, GlobalMetadata<T> global) Outputs the command usages for all groupsprotected voidManMultiPageGlobalUsageGenerator.outputCommandUsages(OutputStream output, TroffPrinter printer, GlobalMetadata<T> global) protected voidManGlobalUsageGenerator.outputDefaultGroupCommandUsages(OutputStream output, TroffPrinter printer, GlobalMetadata<T> global) Outputs the command usages for the commands in the default groupprotected voidManMultiPageGlobalUsageGenerator.outputDefaultGroupCommandUsages(OutputStream output, TroffPrinter printer, GlobalMetadata<T> global) protected voidManGlobalUsageGenerator.outputGroupCommandsList(TroffPrinter printer, GlobalMetadata<T> global, List<CommandGroupMetadata> groups) protected voidManGlobalUsageGenerator.outputGroupCommandUsages(OutputStream output, TroffPrinter printer, GlobalMetadata<T> global, List<CommandGroupMetadata> groups) Outputs the command usages for the commands in the given groupprotected voidManMultiPageGlobalUsageGenerator.outputGroupCommandUsages(OutputStream output, TroffPrinter printer, GlobalMetadata<T> global, List<CommandGroupMetadata> groups) protected voidManGlobalUsageGenerator.outputGroupList(TroffPrinter printer, GlobalMetadata<T> global) Outputs a documentation section that lists the available groups and the commands they containprotected voidManMultiPageGlobalUsageGenerator.outputReferenceToSuite(TroffPrinter printer, GlobalMetadata<T> global) protected voidManGlobalUsageGenerator.outputSynopsis(TroffPrinter printer, GlobalMetadata<T> global) Outputs a documentation section with a synopsis of how to use the CLIprotected voidManGlobalUsageGenerator.outputTitle(GlobalMetadata<T> global, TroffPrinter printer) Outputs the title section for the documentationvoidManGlobalUsageGenerator.usage(GlobalMetadata<T> global, OutputStream output) -
Uses of GlobalMetadata in com.github.rvesse.airline.help.markdown
Methods in com.github.rvesse.airline.help.markdown with parameters of type GlobalMetadataModifier and TypeMethodDescriptionprotected FileOutputStreamMarkdownMultiPageGlobalUsageGenerator.createCommandFile(GlobalMetadata<T> global, String[] groupNames, CommandMetadata command) protected StringMarkdownMultiPageGlobalUsageGenerator.getCommandName(GlobalMetadata<T> global, String[] groupNames, CommandMetadata command) protected voidMarkdownGlobalUsageGenerator.outputCommandList(UsagePrinter out, GlobalMetadata<T> global) Outputs a documentation section listing the commandsprotected voidMarkdownGlobalUsageGenerator.outputCommandUsages(UsagePrinter printer, GlobalMetadata<T> global) Outputs the command usages for all groupsprotected voidMarkdownGlobalUsageGenerator.outputDefaultGroupCommandUsages(UsagePrinter printer, GlobalMetadata<T> global) Outputs the command usages for the commands in the default groupprotected voidMarkdownMultiPageGlobalUsageGenerator.outputDefaultGroupCommandUsages(UsagePrinter printer, GlobalMetadata<T> global) protected voidMarkdownGlobalUsageGenerator.outputDescription(UsagePrinter out, GlobalMetadata<T> global) Outputs a documentation section with a description of the CLIprotected voidMarkdownGlobalUsageGenerator.outputGroupCommandsList(UsagePrinter out, GlobalMetadata<T> global, List<CommandGroupMetadata> groups) protected voidMarkdownGlobalUsageGenerator.outputGroupCommandUsages(UsagePrinter printer, GlobalMetadata<T> global, List<CommandGroupMetadata> groups) Outputs the command usages for the commands in the given groupprotected voidMarkdownMultiPageGlobalUsageGenerator.outputGroupCommandUsages(UsagePrinter printer, GlobalMetadata<T> global, List<CommandGroupMetadata> groups) protected voidMarkdownMultiPageGlobalUsageGenerator.outputReferenceToSuite(OutputStream output, GlobalMetadata<T> global) protected voidMarkdownGlobalUsageGenerator.outputSynopsis(UsagePrinter out, GlobalMetadata<T> global) Outputs a documentation section with a synopsis of CLI usageprotected voidMarkdownGlobalUsageGenerator.outputUserAliases(UsagePrinter out, GlobalMetadata<T> global, UserAliasesSource<T> userAliases) protected voidMarkdownGlobalUsageGenerator.usage(GlobalMetadata<T> global, UsagePrinter out) -
Uses of GlobalMetadata in com.github.rvesse.airline.help.suggester
Fields in com.github.rvesse.airline.help.suggester declared as GlobalMetadata -
Uses of GlobalMetadata in com.github.rvesse.airline.model
Methods in com.github.rvesse.airline.model that return GlobalMetadataModifier and TypeMethodDescriptionstatic <C> GlobalMetadata<C> MetadataLoader.loadGlobal(Class<?> cliClass) static <C> GlobalMetadata<C> MetadataLoader.loadGlobal(Class<?> cliClass, ParserMetadata<C> parserConfigOverride) Loads the metadata for a CLIstatic <C> GlobalMetadata<C> MetadataLoader.loadGlobal(String name, String description, CommandMetadata defaultCommand, Iterable<CommandMetadata> defaultGroupCommands, Iterable<CommandGroupMetadata> groups, Iterable<GlobalRestriction> restrictions, Iterable<HelpSection> baseHelpSections, ParserMetadata<C> parserConfig) Loads global meta-data -
Uses of GlobalMetadata in com.github.rvesse.airline.parser
Fields in com.github.rvesse.airline.parser declared as GlobalMetadataMethods in com.github.rvesse.airline.parser that return GlobalMetadataMethods in com.github.rvesse.airline.parser with parameters of type GlobalMetadataModifier and TypeMethodDescriptionprotected ParseState<T> AbstractCommandParser.tryParse(GlobalMetadata<T> metadata, Iterable<String> args) Tries to parse the argumentsprotected ParseState<T> AbstractCommandParser.tryParse(GlobalMetadata<T> metadata, String... args) Tries to parse the argumentsParseState.withGlobal(GlobalMetadata<T> global) Constructors in com.github.rvesse.airline.parser with parameters of type GlobalMetadataModifierConstructorDescription(package private)ParseState(GlobalMetadata<T> global, ParserMetadata<T> parserConfig, CommandGroupMetadata group, CommandMetadata command, List<org.apache.commons.lang3.tuple.Pair<OptionMetadata, Object>> parsedOptions, Map<OptionMetadata, Integer> optionsCount, List<Context> locationStack, List<Object> parsedArguments, OptionMetadata currentOption, List<String> unparsedInput) -
Uses of GlobalMetadata in com.github.rvesse.airline.parser.command
Methods in com.github.rvesse.airline.parser.command with parameters of type GlobalMetadataModifier and TypeMethodDescriptionCliParser.parse(GlobalMetadata<T> metadata, Iterable<String> args) CliParser.parseWithResult(GlobalMetadata<T> metadata, Iterable<String> args) -
Uses of GlobalMetadata in com.github.rvesse.airline.parser.suggester
Methods in com.github.rvesse.airline.parser.suggester with parameters of type GlobalMetadataModifier and TypeMethodDescriptionSuggestionParser.parse(GlobalMetadata<T> metadata, Iterable<String> args)