Class ListFunctionsSubcommand
java.lang.Object
gov.nist.secauto.metaschema.cli.processor.command.AbstractTerminalCommand
gov.nist.secauto.metaschema.cli.commands.metapath.ListFunctionsSubcommand
- All Implemented Interfaces:
ICommand
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ExitStatus
executeCommand
(CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine cmdLine) Execute the list functions command.getName()
newExecutor
(CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine cmdLine) Methods inherited from class gov.nist.secauto.metaschema.cli.processor.command.AbstractTerminalCommand
getSubCommands, isSubCommandRequired, resolvePathAgainstCWD
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface gov.nist.secauto.metaschema.cli.processor.command.ICommand
gatherOptions, getExtraArguments, getSubCommandByName, requiredExtraArgumentsCount, validateOptions
-
Constructor Details
-
ListFunctionsSubcommand
public ListFunctionsSubcommand()
-
-
Method Details
-
getName
-
getDescription
-
newExecutor
public ICommandExecutor newExecutor(CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine cmdLine) -
executeCommand
protected ExitStatus executeCommand(@NonNull CLIProcessor.CallingContext callingContext, @NonNull org.apache.commons.cli.CommandLine cmdLine) Execute the list functions command.- Parameters:
callingContext
- the context of the command executioncmdLine
- the parsed command line details- Returns:
- the execution result
-