From bbff7403fbf46f9ad92240ac213df8d30ef31b64 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 20 Sep 2018 02:56:13 +0200 Subject: update packages --- node_modules/yargs/README.md | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) (limited to 'node_modules/yargs/README.md') diff --git a/node_modules/yargs/README.md b/node_modules/yargs/README.md index 84f8fea10..a09b32222 100644 --- a/node_modules/yargs/README.md +++ b/node_modules/yargs/README.md @@ -1,9 +1,11 @@ -# Yargs - -_Yargs is developed on evenings and weekends by -volunteers. Why not grab them dinner or a drink?_ - -[![Support via Gratipay](https://cdn.rawgit.com/gratipay/gratipay-badge/2.3.0/dist/gratipay.svg)](https://gratipay.com/yargs/) +

+ +

+

Yargs

+

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

+
[![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] @@ -13,13 +15,10 @@ volunteers. Why not grab them dinner or a drink?_ [![Conventional Commits][conventional-commits-image]][conventional-commits-url] [![Slack][slack-image]][slack-url] -_Having problems? want to contribute? join our [community slack](http://devtoolscommunity.herokuapp.com)_. - -> 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. -Yargs helps you build interactive command line tools, by parsing arguments and generating an elegant user interface. It gives you: +It gives you: * commands and (grouped) options (`my-program.js serve --port=5000`). * a dynamically generated help menu based on your arguments. @@ -35,7 +34,9 @@ Yargs helps you build interactive command line tools, by parsing arguments and g npm i yargs --save ``` -## Simple Example +## Usage : + +### Simple Example ````javascript #!/usr/bin/env node @@ -56,9 +57,9 @@ $ ./plunder.js --ships 12 --distance 98.7 Retreat from the xupptumblers! ``` -## Complex Example +### Complex Example -```js +```javascript #!/usr/bin/env node require('yargs') // eslint-disable-line .command('serve [port]', 'start the server', (yargs) => { @@ -80,7 +81,13 @@ require('yargs') // eslint-disable-line Run the example above with `--help` to see the help for the application. -## Table of Contents +## Community : + +Having problems? want to contribute? join our [community slack](http://devtoolscommunity.herokuapp.com). + +## Documentation : + +### Table of Contents * [Yargs' API](/docs/api.md) * [Examples](/docs/examples.md) -- cgit v1.2.3