Class CreateCommandCommand
java.lang.Object
io.micronaut.starter.cli.command.BaseCommand
io.micronaut.starter.cli.command.CodeGenCommand
io.micronaut.starter.cli.feature.picocli.CreateCommandCommand
- All Implemented Interfaces:
ConsoleOutput,Callable<Integer>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final PicocliGroovyApplicationprotected final PicocliJavaApplicationprotected final PicocliJunitprotected final PicocliKoTestprotected final PicocliKotlinApplicationprotected Stringprotected final PicocliSpockFields inherited from class io.micronaut.starter.cli.command.CodeGenCommand
beanContext, config, consoleOutput, outputHandlerSupplier, overwriteFields inherited from class io.micronaut.starter.cli.command.BaseCommand
commonOptions, specFields inherited from interface io.micronaut.starter.io.ConsoleOutput
NOOP -
Constructor Summary
ConstructorsConstructorDescriptionCreateCommandCommand(CodeGenConfig config, PicocliJavaApplication javaApplication, PicocliGroovyApplication groovyApplication, PicocliKotlinApplication kotlinApplication, PicocliJunit junit, PicocliSpock spock, PicocliKoTest koTest) -
Method Summary
Methods inherited from class io.micronaut.starter.cli.command.CodeGenCommand
err, getCommand, getProject, getTemplateRenderer, getTemplateRenderer, out, setBeanContext, warningMethods inherited from class io.micronaut.starter.cli.command.BaseCommand
errWriter, getOperatingSystem, getSpec, green, outWriter, red, showStacktrace, verbose
-
Field Details
-
name
-
javaApplication
-
groovyApplication
-
kotlinApplication
-
junit
-
spock
-
koTest
-
-
Constructor Details
-
CreateCommandCommand
public CreateCommandCommand(@Parameter CodeGenConfig config, PicocliJavaApplication javaApplication, PicocliGroovyApplication groovyApplication, PicocliKotlinApplication kotlinApplication, PicocliJunit junit, PicocliSpock spock, PicocliKoTest koTest)
-
-
Method Details
-
applies
public boolean applies()- Specified by:
appliesin classCodeGenCommand
-
call
- Throws:
Exception
-