awesome-cli-frameworks

awesome-cli-frameworks

全面收录多语言命令行界面开发框架

该项目汇集了多种编程语言中用于构建命令行界面的框架,涵盖从Bash到Zig等主流语言。每种语言都提供了多个框架选项,并附有简要说明和GitHub链接。这一资源可帮助开发者为命令行应用选择合适的开发工具。

命令行界面框架开源项目多语言支持GitHubGithub

Awesome-cli-framework

Collection of framework to build beautiful command line interface in different languages

Awesome PRs Welcome License

Contents

<!-- TOC --> <!-- /TOC -->

Bash/Shell

  • argc : A bash cli framework, also a task management & automation tool (written in rust).

  • argbash : Bash argument parsing code generator.

  • Bashly : A command line application (written in Ruby) that lets you generate feature-rich bash command line tools. Bashly lets you focus on your specific code, without worrying about command line argument parsing, usage texts, error messages and other functions that are usually handled by a framework in any other programming language.

  • gum : A tool for glamorous shell scripts 🎀 (written in go).

Crystal

  • Athena Console : Allows for the creation of CLI based commands.

  • OptionParser : Builtin class for command-line options processing.

C++

  • argh! : Argh! A minimalist argument handler.

  • args : A simple header-only C++ argument parser library. Supposed to be flexible and powerful, and attempts to be compatible with the functionality of the Python standard argparse library (though not necessarily the API).

  • CLI11 : A command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface.

  • cxxopt : Lightweight C++ command line option parser.

  • docopt.cpp : C++11 port of docopt.

  • gflags : The gflags package contains a C++ library that implements commandline flags processing. It includes built-in support for standard types such as string and the ability to define flags in the source file in which they are used. Online documentation available at:

  • Lyra : A simple to use, composable, command line parser for C++ 11 and beyond.

Dart

  • args : Parses raw command-line arguments into a set of options and values.

  • dcli : An API and tooling for building cross platform command line (CLI) applications and scripts using the Dart programming language.

Deno

  • deno-cliffy : Command line framework for deno sauropod Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...

Dotnet

  • CliFX : A simple to use, yet powerful framework for building command line applications. Its primary goal is to completely take over the user input layer, allowing you to forget about infrastructural concerns and instead focus on writing your application.

  • CliWrap : CliWrap is a library for interacting with external command line interfaces. It provides a convenient model for launching processes, redirecting input and output streams, awaiting completion, handling cancellation, and more.

  • CommandDotnet : Makes it easy to build console apps as simply as you would like and as feature rich as you need.

  • CommandLine : The Command Line Parser Library offers CLR applications a clean and concise API for manipulating command line arguments and related tasks, such as defining switches, options and verb commands.

  • command-line-api : Command line parsing, invocation, and rendering of terminal output.

  • CommandLineUtils : This project helps you create command line applications using .NET. It simplifies parsing arguments provided on the command line, validating user inputs, and generating help text.

  • gui.cs : Console-based user interface toolkit for .NET applications.

  • spectre.console : A .NET 5/.NET Standard 2.0 library that makes it easier to create beautiful, cross platform, console applications.

Useful awesome list for Dotnet cli

  • awesome-dotnet by @quozd : A collection of awesome .NET libraries, tools, frameworks, and software.

Elixir

  • Owl : Owl is a toolkit for writing command-line user interfaces in Elixir.

Fortran

  • FLAP : A KISS pure Fortran Library for building powerful, easy-to-use, elegant command line interfaces.

Go

Useful awesome list for Go cli

  • Awesome-go by @avelino : A curated list of awesome Go frameworks, libraries and software. Look at Command Line

Haskell

  • CmdArgs : CmdArgs is a Haskell library for defining command line parsers.

  • Docopt.hs : A Haskell port of python's docopt.

  • optparse-applicative : A haskell library for parsing options on the command line, and providing a powerful applicative interface for composing them. It takes care of reading and validating the arguments passed to the command line, handling and reporting errors, generating a usage line, a comprehensive help screen, and enabling context-sensitive bash, zsh, and fish completions.

Java

  • args4j : A small Java class library that makes it easy to parse command line options/arguments in your CLI application.

  • Apache Commons CLI : Apache Commons CLI provides a simple API for presenting, processing and validating a Command Line Interface.

  • Jcommander : An annotation based parameter parsing framework for Java 8.

  • Jline3 : A Java library for handling console input. People familiar with the readline/editline capabilities for modern shells (such as bash and tcsh) will find most of the command editing features of JLine to be familiar.

  • Picocli : A modern framework for building powerful, user-friendly, GraalVM-enabled command line apps with ease.

JavaScript

  • Clipanion : Official CLI framework powering both the Yarn CLI - one of the most complex command-line tool in the ecosystem - and small internal scripts. Clipanion is designed with type safety in mind, and leverages a syntax as idiomatic as possible to avoid cluttering your code with boilerplate.

  • Oclif : Oclif is a framework for building CLIs in Node.js. This framework was built out of the Heroku CLI but generalized to build any custom CLI. It's designed both for single-file CLIs with a few flag options, or for very complex CLIs that have subcommands (like git or heroku).

  • Commander.js : The complete solution for node.js command-line interfaces.

  • Gluegun : A delightful toolkit for building TypeScript-powered command-line apps.

  • Ink : React for interactive command-line apps. (See also Pastel)

  • node-seeli : Object orientated, event driven , Interactive CLI module. Seeli aims to give you the tools to compose A command line interface the way you want it, and otherwise, stays out of your way.

  • Caporal.js : A full-featured framework for building command line applications (cli) with node.js, including help generation, colored output, verbosity control, custom logger, coercion and casting, typos suggestions, and auto-complete for bash/zsh/fish.

  • args : Toolkit for building command line interfaces.

  • Inquirer.js : Inquirer.js strives to be an easily embeddable and beautiful command line interface for Node.js.

  • Vorpal : Vorpal is Node's first framework for building interactive CLI applications. With a simple and powerful API, Vorpal opens the door to a new breed of rich, immersive CLI environments. [NOT MAINTAINED]

  • Yargs : Yargs helps you build interactive command line tools, by parsing arguments and generating an elegant user interface.

  • Clerc : Clerc is a full-featured library for building CLI Apps in Node.js, Deno or Bun. It's strongly-typed, easy-to-use and flexible.

  • Termost: A full-featured framework to build your next command line interfaces (CLI) in a minute. Thanks to its fluent and type-safe API, you can easily express and manage your program metadata (including version and help), sub-commands, user prompts, tasks, options and flags, ...

Julia

Kotlin

  • clikt : Multiplatform command line interface parsing for Kotlin.

  • kotlinx-cli : Pure Kotlin implementation of a generic CLI parser.

Nim

  • clapfn : A fast and simple command line argument parser for Nim.

  • cliche : AutoMagic CLI argument parsing is cliche.

  • cligen : Nim library to infer/generate command-line-interfaces / option / argument parsing.

  • docopt.nim : Command line arguments parser that will make you smile (port of docopt to Nim).

  • loki : A small library for writing line-oriented command interpreters in Nim.

  • nim-argparse : Command line argument parsing library.

  • nim-confutils : Simplified handling of command line options and config files.

Ocaml

  • cmdliner : Declarative definition of command line interfaces for OCaml.

  • clap : Command-Line Argument Parsing, imperative style with a consumption mechanism.

  • minicli : Minimalist OCaml library for command line parsing.

PHP

  • CliFramework : CLIFramework is a command-line application framework, for building

编辑推荐精选

即梦AI

即梦AI

一站式AI创作平台

提供 AI 驱动的图片、视频生成及数字人等功能,助力创意创作

扣子-AI办公

扣子-AI办公

AI办公助手,复杂任务高效处理

AI办公助手,复杂任务高效处理。办公效率低?扣子空间AI助手支持播客生成、PPT制作、网页开发及报告写作,覆盖科研、商业、舆情等领域的专家Agent 7x24小时响应,生活工作无缝切换,提升50%效率!

Keevx

Keevx

AI数字人视频创作平台

Keevx 一款开箱即用的AI数字人视频创作平台,广泛适用于电商广告、企业培训与社媒宣传,让全球企业与个人创作者无需拍摄剪辑,就能快速生成多语言、高质量的专业视频。

TRAE编程

TRAE编程

AI辅助编程,代码自动修复

Trae是一种自适应的集成开发环境(IDE),通过自动化和多元协作改变开发流程。利用Trae,团队能够更快速、精确地编写和部署代码,从而提高编程效率和项目交付速度。Trae具备上下文感知和代码自动完成功能,是提升开发效率的理想工具。

AI工具TraeAI IDE协作生产力转型热门
蛙蛙写作

蛙蛙写作

AI小说写作助手,一站式润色、改写、扩写

蛙蛙写作—国内先进的AI写作平台,涵盖小说、学术、社交媒体等多场景。提供续写、改写、润色等功能,助力创作者高效优化写作流程。界面简洁,功能全面,适合各类写作者提升内容品质和工作效率。

AI辅助写作AI工具蛙蛙写作AI写作工具学术助手办公助手营销助手AI助手
问小白

问小白

全能AI智能助手,随时解答生活与工作的多样问题

问小白,由元石科技研发的AI智能助手,快速准确地解答各种生活和工作问题,包括但不限于搜索、规划和社交互动,帮助用户在日常生活中提高效率,轻松管理个人事务。

热门AI助手AI对话AI工具聊天机器人
Transly

Transly

实时语音翻译/同声传译工具

Transly是一个多场景的AI大语言模型驱动的同声传译、专业翻译助手,它拥有超精准的音频识别翻译能力,几乎零延迟的使用体验和支持多国语言可以让你带它走遍全球,无论你是留学生、商务人士、韩剧美剧爱好者,还是出国游玩、多国会议、跨国追星等等,都可以满足你所有需要同传的场景需求,线上线下通用,扫除语言障碍,让全世界的语言交流不再有国界。

讯飞智文

讯飞智文

一键生成PPT和Word,让学习生活更轻松

讯飞智文是一个利用 AI 技术的项目,能够帮助用户生成 PPT 以及各类文档。无论是商业领域的市场分析报告、年度目标制定,还是学生群体的职业生涯规划、实习避坑指南,亦或是活动策划、旅游攻略等内容,它都能提供支持,帮助用户精准表达,轻松呈现各种信息。

AI办公办公工具AI工具讯飞智文AI在线生成PPTAI撰写助手多语种文档生成AI自动配图热门
讯飞星火

讯飞星火

深度推理能力全新升级,全面对标OpenAI o1

科大讯飞的星火大模型,支持语言理解、知识问答和文本创作等多功能,适用于多种文件和业务场景,提升办公和日常生活的效率。讯飞星火是一个提供丰富智能服务的平台,涵盖科技资讯、图像创作、写作辅助、编程解答、科研文献解读等功能,能为不同需求的用户提供便捷高效的帮助,助力用户轻松获取信息、解决问题,满足多样化使用场景。

热门AI开发模型训练AI工具讯飞星火大模型智能问答内容创作多语种支持智慧生活
Spark-TTS

Spark-TTS

一种基于大语言模型的高效单流解耦语音令牌文本到语音合成模型

Spark-TTS 是一个基于 PyTorch 的开源文本到语音合成项目,由多个知名机构联合参与。该项目提供了高效的 LLM(大语言模型)驱动的语音合成方案,支持语音克隆和语音创建功能,可通过命令行界面(CLI)和 Web UI 两种方式使用。用户可以根据需求调整语音的性别、音高、速度等参数,生成高质量的语音。该项目适用于多种场景,如有声读物制作、智能语音助手开发等。

下拉加载更多