quarkusio/quarkus
GitHub で見るPicocli extension - consider generating command metadata during build
Open
#16,355 opened on 2021年4月8日
area/cligood first issuekind/enhancement
Repository metrics
- Stars
- (12,967 stars)
- PR merge metrics
- (平均マージ 6d 4h) (30d で 325 merged PRs)
説明
ATM picocli builds the CommandSpec metadata using reflection every time the application is started. This is OK in most situations but may represent considerable overhead for applications that finish instantly, e.g. some Quarkus CLI commands. It might make sense to analyze the commands during build and either generate some "builder" classes or record the metadata (e.g. using AnnotationProxyBuildItem) and build the metadata in a recorder method.