13 个仓库
Toolkits and frameworks for building Node.js command-line applications.
Explore 13 awesome GitHub repositories matching part of an awesome list · JavaScript CLI Frameworks. Refine with filters or upvote what's useful.
Ink is a declarative framework for building interactive command-line applications using a component-based architecture. It functions as a console renderer that maps component trees to terminal output buffers, allowing developers to manage stateful interfaces through standard component reconciliation. By translating high-level layout and style properties into terminal control codes, it enables the creation of responsive, dynamic interfaces within the console. The framework distinguishes itself by integrating a cross-platform layout engine that applies a flexible box model to the character-base
React-based framework for interactive CLI apps.
Commander.js is a framework for building command-line interfaces and terminal applications. It functions as an argument parsing library and command lifecycle manager, transforming raw terminal input strings into structured, validated objects for use in executable scripts. The system utilizes a recursive command tree pattern, allowing developers to organize complex execution flows through nested subcommands. It features a declarative interface for defining command-line flags and arguments, which maps user input directly to internal state properties. To assist with usability, the framework auto
Complete solution for Node.js command-line interfaces.
Inquirer.js is a command line input framework and prompt library for Node.js applications. It provides a structured set of tools for building interactive terminal interfaces, including menus, checklists, and text inputs, to gather user data and manage complex interactions. The framework allows for the creation of dynamic user experiences through branching prompt logic and the resolution of asynchronous configurations. Users can define custom prompts using a provided API and localize interface text into different languages. The library covers a wide range of input capabilities, including sing
Library for creating beautiful, interactive command-line prompts.
yargs is a command-line interface framework and argument parser for Node.js. It translates raw command-line strings into structured JavaScript objects, providing a toolkit for building terminal applications with nested sub-commands, dedicated handlers, and a structured user interface. The framework distinguishes itself through automated help text generation, which constructs formatted usage menus and instructions based on registered metadata. It also provides shell completion generation for Bash and Zsh and uses string-distance algorithms to offer typo correction suggestions when invalid inpu
Library for parsing arguments and generating interfaces.
oclif is a Node.js framework for building command-line interfaces. It provides a structured system for developing terminal applications with consistent command patterns, argument parsing, and automated help generation. The project features a modular plugin architecture that allows for external functionality to be injected via a manifest-based loading mechanism. It includes a dedicated distribution pipeline and packager to bundle applications into OS-native installers and tarballs for Windows, macOS, and Linux. The framework covers a broad range of development capabilities, including project
Framework for building custom CLI tools in Node.js.
Vorpal 是一个 Node.js 交互式 CLI 框架和终端用户界面库,用于构建可扩展的命令行 Shell。它作为一个交互式命令行解析器,将字符串输入转换为可执行函数,管理终端会话的生命周期和命令路由。 该框架的特点是基于插件的扩展架构,允许外部模块将新命令、共享行为和完整的命令套件注册到核心环境中。它支持创建具有专门命名空间的自定义 Shell 环境,以及用于持久化用户历史记录和本地键值存储的系统。 该项目提供了全面的命令管理实用工具,包括自动补全、别名支持和可编程帮助系统。它还包括用于动态提示修改、标准输出拦截和交互式用户提示的终端 I/O 控件。错误管理通过全局异常监听器和针对不匹配用户输入的特定触发器来处理。
Framework for building rich, immersive CLI environments.
Simply add Caporal as a dependency:
Full-featured framework with help generation and colored output.
Gluegun is a delightful toolkit for building Node-based command-line interfaces (CLIs) in TypeScript or modern JavaScript, with support for:
Toolkit for building TypeScript-powered CLI apps.
` $> yarn add clipanion `
Framework for building complex command-line tools.
This package makes creating command line interfaces a breeze.
Toolkit for building command-line interfaces.
Clerc is a full-featured library (tool set) for building CLI Apps in Node.js, Deno or Bun.
Strongly-typed library for building CLI apps.
Get the most of your terminal
Fluent and type-safe framework for CLI development.
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.
Object-oriented, event-driven interactive CLI module.