Package io.micronaut.starter.cli.command
Class CreateFunctionCommand
java.lang.Object
io.micronaut.starter.cli.command.BaseCommand
io.micronaut.starter.cli.command.CreateCommand
io.micronaut.starter.cli.command.CreateFunctionCommand
- All Implemented Interfaces:
ConsoleOutput
,Callable<Integer>
-
Field Summary
Fields inherited from class io.micronaut.starter.cli.command.CreateCommand
applicationType, availableFeatures, build, contextFactory, framework, inplace, javaVersion, lang, listFeatures, name, projectGenerator, test
Fields inherited from class io.micronaut.starter.cli.command.BaseCommand
commonOptions, spec
Fields inherited from interface io.micronaut.starter.io.ConsoleOutput
NOOP
-
Constructor Summary
ConstructorDescriptionCreateFunctionCommand
(FunctionAvailableFeatures availableFeatures, ContextFactory contextFactory, ProjectGenerator projectGenerator) -
Method Summary
Methods inherited from class io.micronaut.starter.cli.command.CreateCommand
call, generate, generate, getAdditionalOptions, getJdkVersion
Methods inherited from class io.micronaut.starter.cli.command.BaseCommand
err, errWriter, getOperatingSystem, getSpec, green, out, outWriter, red, showStacktrace, verbose, warning
-
Field Details
-
NAME
- See Also:
-
features
-
-
Constructor Details
-
CreateFunctionCommand
public CreateFunctionCommand(FunctionAvailableFeatures availableFeatures, ContextFactory contextFactory, ProjectGenerator projectGenerator)
-
-
Method Details
-
getSelectedFeatures
- Specified by:
getSelectedFeatures
in classCreateCommand
- Returns:
- The selected features.
-