Class CreateAccount
java.lang.Object
io.micronaut.starter.cli.command.BaseCommand
io.micronaut.starter.cli.command.CodeGenCommand
io.micronaut.starter.cli.feature.acme.CreateKeyPair
io.micronaut.starter.cli.feature.acme.CreateAccount
- All Implemented Interfaces:
ConsoleOutput, Callable<Integer>
Allows for creating a new account on the given acme server. Keypair can either be passed in or given as parameters.
-
Field Summary
FieldsFields inherited from class CreateKeyPair
keyDir, keyName, keySizeFields inherited from class CodeGenCommand
beanContext, config, consoleOutput, outputHandlerSupplier, overwriteFields inherited from class BaseCommand
commonOptions, specFields inherited from interface ConsoleOutput
NOOP -
Constructor Summary
ConstructorsConstructorDescriptionCreateAccount(CodeGenConfig config) CreateAccount(CodeGenConfig config, io.micronaut.core.util.functional.ThrowingSupplier<OutputHandler, IOException> outputHandlerSupplier, ConsoleOutput consoleOutput) -
Method Summary
Methods inherited from class CreateKeyPair
doKeyCreationMethods inherited from class CodeGenCommand
err, getCommand, getProject, getTemplateRenderer, getTemplateRenderer, out, setBeanContext, warningMethods inherited from class BaseCommand
errWriter, getOperatingSystem, getSpec, green, outWriter, red, showStacktrace, verbose
-
Field Details
-
email
-
acmeServerOption
-
-
Constructor Details
-
CreateAccount
-
CreateAccount
public CreateAccount(CodeGenConfig config, io.micronaut.core.util.functional.ThrowingSupplier<OutputHandler, IOException> outputHandlerSupplier, ConsoleOutput consoleOutput)
-
-
Method Details
-
applies
public boolean applies()- Overrides:
appliesin classCreateKeyPair
-
call
-