commander.js - node.js command-line interfaces made easy

  •        24

Options with commander are defined with the .option() method, also serving as documentation for the options. The example below parses args and options from process.argv, leaving remaining args as the program.args array which were not consumed by options.Short flags may be passed as a single arg, for example -abc is equivalent to -a -b -c. Multi-word options such as "--template-engine" are camel-cased, becoming program.templateEngine etc.

https://github.com/tj/commander.js

Dependencies:

@types/node : ^7.0.39

Tags
Implementation
License
Platform

   




Related Projects

commander - The complete solution for Ruby command-line executables

  •    Ruby

The complete solution for Ruby command-line executables. Commander bridges the gap between other terminal related libraries you know and love (OptionParser, HighLine), while providing many new features, and an elegant API. For more option examples view the Commander::Command#option method. Also an important feature to note is that action may be a class to instantiate, as well as an object, specifying a method to call, so view the RDoc for more information.

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

  •    Javascript

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

Commander - Compose beautiful command line interfaces in Swift

  •    Swift

Commander is a small Swift framework allowing you to craft beautiful command line interfaces in a composable way.The closure passed to the command function takes any arguments that conform to ArgumentConvertible, Commander will automatically convert the arguments to these types. If they can't be converted the user will receive a nice error message informing them that their argument doesn't match the expected type.

commander - The complete solution for Ruby command-line executables

  •    Ruby

This repo has moved to https://github.com/commander-rb/commander! Please file issues/PRs there.

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.


FTP CSS Total Commander

  •    PHP

Ftp Css Total Commander is continuation of my small project - Css Total Commander, whose alpha version come into being 22.03.2004. From Ftp Css Total Commander I would willed create fully - fledged ftp client. Base only on HTML, CSS, PHP.

Webnight Commander

  •    Javascript

Webnight Commander is web file manager with interface similar to GNU Midnight Commander. The main difference is that Webnight Commander have only one directory panel.

Portos Commander

  •    C++

Portos Commander (Pcmm) is a linux file manager for KDE 3.x. It is patterned after old-school managers like Midnight Commander and Norton Commander. It features basically all your file-management needs, file searcher, internal viewer, URL database, ftp, s

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.

Duel Commander

  •    C

Duel Commander is a turn based command line fighting game for Windows and Unix-like systems. The game is completely text based with an easy-to-use interface.

Media Center Commander

  •    

Media Center Commander allows you to change Live TV channels in Windows Media Center via the command-line (and thus desktop shortcuts).

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.

Larsen Commander GPL edition

  •    C++

Larsen Commander for OS/2 Warp and eCS. Consists of two parts; 1) the underlying C++ G-Lib framework that build directly on top of native 32 bit OS/2 APIs and 2) the Larsen Commander application it self, written in C++ on top of that G-Lib framework.

Double Commander

  •    Pascal

Double Commander is a cross platform open source file manager with two panels side by side. It is inspired by Total Commander and features some new ideas.

Total Commander SkyDrive File System Plugin (.wfx)

  •    

Total Commander SkyDrive File System Plugin makes it much easier for any Microsoft's Windows Live SkyDrive users to manage, upload and download their files and folders. It's developed in C#.

CBM Commander

  •    C

CBM Commander is a framework for tools that make integration between Commodore 8-bit computers and Microsoft Windows more manageable, reliable and enjoyable. CBM Commander includes utilities for both the PC and the CBM machines that allow the venerable classics to utilize the...

Wing Commander Universe

  •    C++

A Privateer style game with Wing Commander ships, set in the Wing Commander Universe. The year is 2669, you have complete freedom to do what YOU want. choose your own destiny as either a male/female human, Kilrathi or firekkan as you travel the universe

Mr Commander

  •    C++

Mr Commander (linux gtk+2.0 based) like Total (Windows old) Commander on MS Windows. File browser shell (SMB, FTP support).

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.

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.