1 个仓库
Optimizations for producing standalone binaries with minimal startup overhead.
Distinct from CLI Command Frameworks: Focuses on AOT and native image compilation rather than general CLI command structure
Explore 1 awesome GitHub repository matching development tools & productivity · Native Binary Optimizations. Refine with filters or upvote what's useful.
picocli 是一个用于 JVM 应用的命令行接口(CLI)开发框架和参数解析器。它使用声明式的注解模型,将命令行选项和位置参数映射到强类型的 Java 方法和字段。 该框架为原生镜像(Native Image)编译提供了特定支持,生成构建具有更低启动开销的独立二进制文件所需的反射和资源配置文件。它还以专门的 shell 自动补全脚本生成系统和用于为输出应用颜色与样式的 ANSI 终端美化器而著称。 该项目涵盖了广泛的终端应用功能,包括用于嵌套子命令的层级命令分发、自动生成使用帮助和 man 手册页,以及带有用户提示的交互式 shell 实现。它还包括通过自定义工厂进行依赖注入、基于插件的类型转换以及处理外部参数文件的基础设施。
Offers specific support for GraalVM native image compilation to create fast-starting standalone binaries.