Package picocli.spring

Provides classes and interfaces for integrating picocli with Spring Boot.

Picocli instantiates objects at initialization time, using a CommandLine.IFactory. This package provides a factory implementation that looks up objects in Spring's ApplicationContext. When picocli uses this factory to instantiate subcommands, type converters, and other picocli components, this factory will use Spring's ApplicationContext to instantiate classes that are annotated with @org.springframework.stereotype.Component. This ensures that @javax.inject.Inject or @Autowired-annotated beans in those picocli components are injected by Spring.