Class SmithyCommand
- java.lang.Object
- 
- software.amazon.smithy.cli.commands.SmithyCommand
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface software.amazon.smithy.cli.CommandCommand.Env
 
- 
 - 
Constructor SummaryConstructors Constructor Description SmithyCommand(DependencyResolver.Factory dependencyResolverFactory)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intexecute(Arguments arguments, Command.Env env)Executes the command using the provided arguments.java.lang.StringgetName()Gets the name of the command.java.lang.StringgetSummary()Gets a short summary of the command that's shown in the main help.
 
- 
- 
- 
Constructor Detail- 
SmithyCommandpublic SmithyCommand(DependencyResolver.Factory dependencyResolverFactory) 
 
- 
 - 
Method Detail- 
getNamepublic java.lang.String getName() Description copied from interface:CommandGets the name of the command.The returned name should contain no spaces or special characters. 
 - 
getSummarypublic java.lang.String getSummary() Description copied from interface:CommandGets a short summary of the command that's shown in the main help.- Specified by:
- getSummaryin interface- Command
- Returns:
- Returns the short help description.
 
 - 
executepublic int execute(Arguments arguments, Command.Env env) Description copied from interface:CommandExecutes the command using the provided arguments.
 
- 
 
-