Caporal.js - A full-featured framework for building command line applications (cli) with node.js

  •        79

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.Angled brackets (e.g. ) indicate required input. Square brackets (e.g. [env]) indicate optional input.

https://github.com/mattallty/Caporal.js

Dependencies:

bluebird : ^3.4.7
chalk : ^1.1.3
cli-table2 : ^0.2.0
fast-levenshtein : ^2.0.6
lodash.camelcase : ^4.3.0
micromist : ^1.0.1
prettyjson : ^1.2.1
tabtab : ^2.2.2
winston : ^2.3.1

Tags
Implementation
License
Platform

   




Related Projects

clap - A full featured, fast Command Line Argument Parser for Rust

  •    Rust

It is a simple-to-use, efficient, and full-featured library for parsing command line arguments and subcommands when writing console/terminal applications. clap is used to parse and validate the string of command line arguments provided by a user at runtime. You provide the list of valid possibilities, and clap handles the rest. This means you focus on your applications functionality, and less on the parsing and validating of arguments.

argh - Argh! A minimalist argument handler.

  •    C++

If you're writing a highly-sophisticated command line tool, then Boost.Program_options and its kind might give you many advanced options. However, if you need to get up and running quickly, effectively and with minimal fuss, give the single header-file argh a try.

CLI11 - CLI11 is a command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface

  •    C++

CLI11 is a command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface. CLI11 provides all the features you expect in a powerful command line parser, with a beautiful, minimal syntax and no dependencies beyond C++11. It is header only, and comes in a single file form for easy inclusion in projects. It is easy to use for small projects, but powerful enough for complex command line projects, and can be customized for frameworks. It is tested on Travis and AppVeyor, and is being included in the GooFit GPU fitting framework. It was inspired by plumbum.cli for Python. CLI11 has a user friendly introduction in this README, a more in-depth tutorial GitBook, as well as API documentation generated by Travis. See the changelog or GitHub Releases for details for current and past releases. Also see the Version 1.0 post, Version 1.3 post, or Version 1.6 post for more information.

args - Toolkit for building command line interfaces

  •    Javascript

This package makes creating command line interfaces a breeze. Register a new option for the binary in which it's being called.

sade - Smooth (CLI) Operator 🎶

  •    Javascript

Define your global/program-wide version, options, description, and/or examples first. Once you define a Command, you can't access the global-scope again. Define all commands & options in the order that you want them to appear. Sade will not mutate or sort your CLI for you. Global options print before local options.


node-optimist - Light-weight option parsing for node.js

  •    Javascript

I don't want to maintain this module anymore since I just use minimist, the argument parsing engine, directly instead nowadays.See yargs for the modern, pirate-themed successor to optimist.

fast-xml-parser - Validate XML, Parse XML to JS/JSON and vise versa, or parse XML to Nimn rapidly without C/C++ based libraries and no callback

  •    Javascript

This project welcomes contributors. If you have a feature you'd like to see implemented or a bug you'd liked fixed, the best and fastest way to make that happen is to implement it and submit a PR. Basic knowledge of JS is sufficient. Feel free to ask for any guidance. To use it from CLI Install it globally with -g option.

jitsu - Flawless command line deployment of your Node.js apps to the cloud

  •    Javascript

Jitsu is a Command Line Tool (CLI) for managing and deploying Node.js applications. It's open-source and easy to use. We've designed jitsu to be suitable for command line beginners, but still be powerful and extensible enough for production usage.jitsu requires npm, the node package manager.

Cobra - A Commander for modern Go CLI interactions

  •    Go

Cobra is both a library for creating powerful modern CLI applications as well as a program to generate applications and command files. Cobra is a library providing a simple interface to create powerful modern CLI interfaces similar to git & go tools.

carbon-now-cli - 🎨 Beautiful images of your code — from right inside your terminal.

  •    Javascript

🎨 Beautiful images of your code — from right inside your terminal. carbon.now.sh by @dawn_labs is a wonderful tool that lets you generate beautiful images of your source code through an intuitive UI, while letting you customize aspects like fonts, themes, window controls and much more.

azure-xplat-cli - Microsoft Azure Cross Platform Command Line

  •    Javascript

This project provides a cross-platform command line interface for developers and IT administrators to develop, deploy and manage Microsoft Azure applications.Note: The list of features may not be up-to-date. For accurate command details, type azure | azure -h | azure --help to navigate through the help system. Also, use azure config mode asm|arm to switch between service management (Version V1)and resource management (Version V2) of the Azure REST API.

Inquirer.js - A collection of common interactive command line user interfaces.

  •    Javascript

A collection of common interactive command line user interfaces.Version 4.x only supports Node 6 and over. For Node 4 support please use version 3.x.

webtorrent-cli - WebTorrent, the streaming torrent client. For the command line.

  •    Javascript

WebTorrent is the first BitTorrent client that works in the browser, but webtorrent-cli, i.e. THIS PACKAGE, is for using WebTorrent from the command line. webtorrent-cli is a simple torrent client for use in node.js, as a command line app. It uses TCP and UDP to talk to other torrent clients.

Command Line Parser Library

  •    DotNet

The Command Line Parser Library offers to CLR applications an hassle free API constantly updated API since 2005. Unix-like, automatic help screen generation.

cli - A simple, fast, and fun package for building command line apps in Go

  •    Go

Notice: This is the library formerly known as github.com/codegangsta/cli -- Github will automatically redirect requests to this repository, but we recommend updating your references for clarity.cli is a simple, fast, and fun package for building command line apps in Go. The goal is to enable developers to write fast and distributable command line applications in an expressive way.

ipt - Interactive Pipe To: The Node.js cli interactive workflow

  •    Javascript

ipt (pronounced iPipeTo) introduces the missing cli interactive workflow. It takes any kind of list as an input and uses that list to build an interactive interface to let you select an element from it. Stop manually dragging your mouse around to copy output data from a terminal, using the ipt workflow you can pipe data from a command and select what to copy to clipboard from a convenient visual menu.

nash - Craft command-line masterpieces in Node.js

  •    Javascript

Run the cli app with the given arguments. Normally you'd pass in process.argv. The callback can be used to execute more code after everything has completed. Create a command with the given name(s). Supports a single name, and array of names, or multiple names separated by commas as arguments to the command method. Returns an instance of Command.

ink - 🌈 React for interactive command-line apps

  •    Javascript

React for CLIs. Build and test your CLI output using components. Ink's goal is to provide the same component-based UI building experience that React provides, but for command-line apps. That's why it tries to implement the minimum required functionality of React. If you are already familiar with React (or Preact, since Ink borrows a few ideas from it), you already know Ink.

airline - Java annotation-based framework for parsing Git like command line structures

  •    Java

Java annotation-based framework for parsing Git like command line structures