Class AstCommand
java.lang.Object
software.amazon.smithy.cli.commands.AstCommand
- All Implemented Interfaces:
Command
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(Arguments arguments, ClassLoader classLoader) Executes the command using the provided arguments.getName()Gets the name of the command.Gets the parser of the command.Gets a short summary of the command that's shown in the main help.
-
Constructor Details
-
AstCommand
public AstCommand()
-
-
Method Details
-
getName
Description copied from interface:CommandGets the name of the command.The returned name should contain no spaces or special characters.
-
getSummary
Description copied from interface:CommandGets a short summary of the command that's shown in the main help.- Specified by:
getSummaryin interfaceCommand- Returns:
- Returns the short help description.
-
getParser
Description copied from interface:CommandGets the parser of the command. -
execute
Description copied from interface:CommandExecutes the command using the provided arguments.
-