Uses of Interface
dev.metaschema.cli.processor.command.ICommand
Packages that use ICommand
Package
Description
-
Uses of ICommand in dev.metaschema.cli.processor
Methods in dev.metaschema.cli.processor that return ICommandModifier and TypeMethodDescriptionCallingContext.getTargetCommand()Get the command that was triggered by the CLI arguments.Methods in dev.metaschema.cli.processor that return types with arguments of type ICommandModifier and TypeMethodDescriptionCLIProcessor.getTopLevelCommands()Get the root-level commands.CLIProcessor.getTopLevelCommandsByName()Get the root-level commands, mapped from name to command.Methods in dev.metaschema.cli.processor with parameters of type ICommandModifier and TypeMethodDescriptionvoidCLIProcessor.addCommandHandler(ICommand handler) Register a new command handler. -
Uses of ICommand in dev.metaschema.cli.processor.command
Classes in dev.metaschema.cli.processor.command that implement ICommandModifier and TypeClassDescriptionclassA base class for a command that supports hierarchical command structure with child commands.classA base class for terminal commands in the command processing hierarchy.classA command that generates shell completion scripts for Bash and Zsh.Methods in dev.metaschema.cli.processor.command that return ICommandModifier and TypeMethodDescriptionprotected ICommandAbstractCommandExecutor.getCommand()Get the command associated with this execution.AbstractParentCommand.getSubCommandByName(String name) default ICommandICommand.getSubCommandByName(String name) Get a sub-command by it's command name.Methods in dev.metaschema.cli.processor.command that return types with arguments of type ICommandModifier and TypeMethodDescriptionCommandService.getCommands()Get the loaded commands.AbstractParentCommand.getSubCommands()default Collection<ICommand>ICommand.getSubCommands()Get any sub-commands associated with this command.Methods in dev.metaschema.cli.processor.command with parameters of type ICommandModifier and TypeMethodDescriptionprotected final voidAbstractParentCommand.addCommandHandler(ICommand handler) Add a child command. -
Uses of ICommand in dev.metaschema.cli.processor.completion
Methods in dev.metaschema.cli.processor.completion that return types with arguments of type ICommandConstructor parameters in dev.metaschema.cli.processor.completion with type arguments of type ICommandModifierConstructorDescriptionCompletionScriptGenerator(String programName, List<ICommand> commands) Construct a new generator.