JAEGIS-METHOD-v2.0\v2.1.1\JAEGIS\JAEGIS_Core\JAEGIS-METHOD\node_modules\mocha\node_modules\yargs\REA

Yargs

Yargs be a node.js library fer hearties tryin' ter parse optstrings

ci NPM versionarrow-up-right js-standard-stylearrow-up-right Coveragearrow-up-right Conventional Commitsarrow-up-right Slackarrow-up-right

Description

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

It gives you:

  • commands and (grouped) options (my-program.js serve --port=5000).

  • a dynamically generated help menu based on your arguments:

Installation

Stable version:

Bleeding edge version with the most recent features:

Usage

Simple Example

Complex Example

Run the example above with --help to see the help for the application.

Supported Platforms

TypeScript

yargs has type definitions at @types/yargsarrow-up-right.

See usage examples in docsarrow-up-right.

Deno

As of v16, yargs supports Denoarrow-up-right:

ESM

As of v16,yargs supports ESM imports:

Usage in Browser

See examples of using yargs in the browser in docsarrow-up-right.

Community

Having problems? want to contribute? join our community slackarrow-up-right.

Documentation

Table of Contents

Supported Node.js Versions

Libraries in this ecosystem make a best effort to track Node.js' release schedulearrow-up-right. Here's a post on why we think this is importantarrow-up-right.

Last updated