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
-
Field Summary
Modifier and TypeFieldDescriptionprotected final PicocliGroovyApplication
protected final PicocliJavaApplication
protected final PicocliJunit
protected final PicocliKoTest
protected final PicocliKotlinApplication
protected String
protected final PicocliSpock
Fields inherited from class io.micronaut.starter.cli.command.CodeGenCommand
beanContext, config, consoleOutput, outputHandlerSupplier, overwrite
Fields inherited from class io.micronaut.starter.cli.command.BaseCommand
commonOptions, spec
Fields inherited from interface io.micronaut.starter.io.ConsoleOutput
NOOP
-
Constructor Summary
ConstructorDescriptionCreateCommandCommand
(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, warning
Methods 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:
applies
in classCodeGenCommand
-
call
- Throws:
Exception
-