Package io.micronaut.starter.cli.command
Class CreateCommand
java.lang.Object
io.micronaut.starter.cli.command.BaseCommand
io.micronaut.starter.cli.command.CreateCommand
- All Implemented Interfaces:
ConsoleOutput
,Callable<Integer>
- Direct Known Subclasses:
CreateAppCommand
,CreateCliCommand
,CreateFunctionCommand
,CreateGrpcCommand
,CreateMessagingCommand
-
Field Summary
Modifier and TypeFieldDescriptionprotected final ApplicationType
protected final AvailableFeatures
protected BuildTool
protected final ContextFactory
protected String
protected boolean
protected Integer
protected Language
protected boolean
protected String
protected final ProjectGenerator
protected TestFramework
Fields inherited from class io.micronaut.starter.cli.command.BaseCommand
commonOptions, spec
Fields inherited from interface io.micronaut.starter.io.ConsoleOutput
NOOP
-
Constructor Summary
ModifierConstructorDescriptionprotected
CreateCommand
(AvailableFeatures availableFeatures, ContextFactory contextFactory, ApplicationType applicationType, ProjectGenerator projectGenerator) -
Method Summary
Modifier and TypeMethodDescriptioncall()
void
generate
(Project project, OutputHandler outputHandler) void
generate
(OutputHandler outputHandler) protected JdkVersion
Methods inherited from class io.micronaut.starter.cli.command.BaseCommand
err, errWriter, getOperatingSystem, getSpec, green, out, outWriter, red, showStacktrace, verbose, warning
-
Field Details
-
availableFeatures
-
framework
-
name
-
lang
-
test
-
build
-
inplace
protected boolean inplace -
listFeatures
protected boolean listFeatures -
javaVersion
-
contextFactory
-
applicationType
-
projectGenerator
-
-
Constructor Details
-
CreateCommand
protected CreateCommand(AvailableFeatures availableFeatures, ContextFactory contextFactory, ApplicationType applicationType, ProjectGenerator projectGenerator)
-
-
Method Details