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
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:
bash-completion shortcuts for commands and options.
and tons more.
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/yargs.
See usage examples in docs.
Deno
As of v16, yargs supports Deno:
ESM
As of v16,yargs supports ESM imports:
Usage in Browser
See examples of using yargs in the browser in docs.
Community
Having problems? want to contribute? join our community slack.
Documentation
Table of Contents
Supported Node.js Versions
Libraries in this ecosystem make a best effort to track Node.js' release schedule. Here's a post on why we think this is important.
Last updated