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 هو إطار عمل CLI تفاعلي لـ Node.js ومكتبة واجهة مستخدم طرفية تُستخدم لبناء أصداف سطر أوامر قابلة للتوسيع. يعمل كمحلل سطر أوامر تفاعلي يحول إدخال السلسلة إلى وظائف قابلة للتنفيذ، ويدير دورة حياة جلسات الطرفية وتوجيه الأوامر. يتميز إطار العمل ببنية توسيع تعتمد على المكونات الإضافية تسمح للوحدات الخارجية بتسجيل أوامر جديدة، وسلوكيات مشتركة، ومجموعات أوامر كاملة في البيئة الأساسية. ويدعم إنشاء بيئات صدفة مخصصة مع مساحات أسماء متخصصة ونظام لسجل المستخدم المستمر وتخزين مفتاح-قيمة محلي. يوفر المشروع أدوات شاملة لإدارة الأوامر، بما في ذلك الإكمال التلقائي، ودعم الأسماء المستعارة، وأنظمة المساعدة القابلة للبرمجة. كما يتضمن عناصر تحكم 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.