@Prototype public class UpdateCliConfigCommand extends CodeGenCommand
Modifier and Type | Field and Description |
---|---|
protected static java.util.Map<ApplicationType,java.lang.String> |
COMMANDS |
beanContext, config, consoleOutput, outputHandlerSupplier, overwrite
commonOptions, spec
NOOP
Constructor and Description |
---|
UpdateCliConfigCommand(CodeGenConfig codeGenConfig) |
UpdateCliConfigCommand(CodeGenConfig config,
io.micronaut.core.util.functional.ThrowingSupplier<OutputHandler,java.io.IOException> outputHandlerSupplier,
ConsoleOutput consoleOutput) |
Modifier and Type | Method and Description |
---|---|
boolean |
applies() |
java.lang.Integer |
call() |
err, getCommand, getProject, getTemplateRenderer, getTemplateRenderer, out, setBeanContext, warning
errWriter, getOperatingSystem, getSpec, green, outWriter, red, showStacktrace, verbose
protected static final java.util.Map<ApplicationType,java.lang.String> COMMANDS
@Inject public UpdateCliConfigCommand(@Parameter CodeGenConfig codeGenConfig)
public UpdateCliConfigCommand(CodeGenConfig config, io.micronaut.core.util.functional.ThrowingSupplier<OutputHandler,java.io.IOException> outputHandlerSupplier, ConsoleOutput consoleOutput)
public boolean applies()
applies
in class CodeGenCommand
public java.lang.Integer call() throws java.lang.Exception
java.lang.Exception