Package io.micronaut.starter.cli.command
Class BaseCommand
java.lang.Object
io.micronaut.starter.cli.command.BaseCommand
- All Implemented Interfaces:
 ConsoleOutput
- Direct Known Subclasses:
 BuilderCommand,CodeGenCommand,CreateCommand,MicronautStarter
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CommonOptionsMixinprotected picocli.CommandLine.Model.CommandSpecFields inherited from interface io.micronaut.starter.io.ConsoleOutput
NOOP - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoid@NonNull Optional<PrintWriter>@Nullable OperatingSystem@NonNull Optional<picocli.CommandLine.Model.CommandSpec>getSpec()voidvoid@NonNull Optional<PrintWriter>voidbooleanbooleanverbose()void 
- 
Field Details
- 
spec
protected picocli.CommandLine.Model.CommandSpec spec - 
commonOptions
 
 - 
 - 
Constructor Details
- 
BaseCommand
public BaseCommand() 
 - 
 - 
Method Details
- 
out
- Specified by:
 outin interfaceConsoleOutput
 - 
err
- Specified by:
 errin interfaceConsoleOutput
 - 
warning
- Specified by:
 warningin interfaceConsoleOutput
 - 
green
- Specified by:
 greenin interfaceConsoleOutput
 - 
red
- Specified by:
 redin interfaceConsoleOutput
 - 
showStacktrace
public boolean showStacktrace()- Specified by:
 showStacktracein interfaceConsoleOutput
 - 
verbose
public boolean verbose()- Specified by:
 verbosein interfaceConsoleOutput
 - 
getOperatingSystem
 - 
outWriter
 - 
errWriter
 - 
getSpec
 
 -