Class SelectCommand
- java.lang.Object
-
- software.amazon.smithy.cli.commands.SelectCommand
-
-
Constructor Summary
Constructors Constructor Description SelectCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(Arguments arguments, java.lang.ClassLoader classLoader)
Executes the command using the provided arguments.java.lang.String
getHelp()
Gets details help for the command.java.lang.String
getName()
Gets the name of the command.Parser
getParser()
Gets the parser of the command.java.lang.String
getSummary()
Gets a short summary of the command that's shown in the main help.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:Command
Gets the name of the command.The returned name should contain no spaces or special characters.
-
getSummary
public java.lang.String getSummary()
Description copied from interface:Command
Gets a short summary of the command that's shown in the main help.- Specified by:
getSummary
in interfaceCommand
- Returns:
- Returns the short help description.
-
getHelp
public java.lang.String getHelp()
Description copied from interface:Command
Gets details help for the command.Returning an empty string omits detailed help.
-
getParser
public Parser getParser()
Description copied from interface:Command
Gets the parser of the command.
-
-