Package io.micronaut.starter.cli
Class MicronautFactory
java.lang.Object
io.micronaut.starter.cli.MicronautFactory
- All Implemented Interfaces:
picocli.CommandLine.IFactory
Picocli factory implementation that uses a Micronaut BeanContext to obtain bean instances.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MicronautFactory
public MicronautFactory() -
MicronautFactory
public MicronautFactory(io.micronaut.context.BeanContext beanContext)
-
-
Method Details
-
create
- Specified by:
create
in interfacepicocli.CommandLine.IFactory
- Throws:
Exception
-