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
FieldsModifier and TypeFieldDescriptionprotected final ApplicationTypeprotected final AvailableFeaturesprotected BuildToolprotected final ContextFactoryprotected Stringprotected booleanprotected Integerprotected Languageprotected booleanprotected Stringprotected final ProjectGeneratorprotected TestFrameworkFields inherited from class io.micronaut.starter.cli.command.BaseCommand
commonOptions, specFields inherited from interface io.micronaut.starter.io.ConsoleOutput
NOOP -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreateCommand(AvailableFeatures availableFeatures, ContextFactory contextFactory, ApplicationType applicationType, ProjectGenerator projectGenerator) -
Method Summary
Modifier and TypeMethodDescriptioncall()voidgenerate(Project project, OutputHandler outputHandler) voidgenerate(OutputHandler outputHandler) protected JdkVersionMethods 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