Class DeactivateAccount
java.lang.Object
io.micronaut.starter.cli.command.BaseCommand
io.micronaut.starter.cli.command.CodeGenCommand
io.micronaut.starter.cli.feature.acme.DeactivateAccount
- All Implemented Interfaces:
ConsoleOutput
,Callable<Integer>
Allows for deactivating of an existing Acme account on the given acme server.
-
Field Summary
Fields inherited from class io.micronaut.starter.cli.command.CodeGenCommand
beanContext, config, consoleOutput, outputHandlerSupplier, overwrite
Fields inherited from class io.micronaut.starter.cli.command.BaseCommand
commonOptions, spec
Fields inherited from interface io.micronaut.starter.io.ConsoleOutput
NOOP
-
Constructor Summary
ConstructorDescriptionDeactivateAccount
(CodeGenConfig config) DeactivateAccount
(CodeGenConfig config, io.micronaut.core.util.functional.ThrowingSupplier<OutputHandler, IOException> outputHandlerSupplier, ConsoleOutput consoleOutput) -
Method Summary
Methods inherited from class io.micronaut.starter.cli.command.CodeGenCommand
err, getCommand, getProject, getTemplateRenderer, getTemplateRenderer, out, setBeanContext, warning
Methods inherited from class io.micronaut.starter.cli.command.BaseCommand
errWriter, getOperatingSystem, getSpec, green, outWriter, red, showStacktrace, verbose
-
Field Details
-
keyName
-
keyDir
-
acmeServerOption
-
-
Constructor Details
-
DeactivateAccount
-
DeactivateAccount
public DeactivateAccount(CodeGenConfig config, io.micronaut.core.util.functional.ThrowingSupplier<OutputHandler, IOException> outputHandlerSupplier, ConsoleOutput consoleOutput)
-
-
Method Details
-
applies
public boolean applies()- Specified by:
applies
in classCodeGenCommand
-
call
Uses arguments passed to do all account deactivation.- Returns:
- exit code of the program
-