[Pkg-javascript-commits] [node-dargs] 25/54: improve discovery
Bastien Roucariès
rouca at moszumanska.debian.org
Wed Sep 6 09:41:03 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-dargs.
commit 88b8a5802bb434cce9e1850e3bbc545625c5a53a
Author: Sindre Sorhus <sindresorhus at gmail.com>
Date: Wed Feb 4 18:33:33 2015 +0700
improve discovery
fixes asbjornenge/minimist-reverse#1
---
package.json | 15 ++++++++++++---
readme.md | 7 ++++---
2 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/package.json b/package.json
index d9f08c3..7a2692b 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "dargs",
"version": "3.0.0",
- "description": "Convert an object of options into an array of command-line arguments",
+ "description": "Reverse minimist. Convert an object of options into an array of command-line arguments.",
"repository": "sindresorhus/dargs",
"keywords": [
"options",
@@ -14,12 +14,21 @@
"bin",
"binary",
"command",
- "cmd"
+ "cmd",
+ "reverse",
+ "inverse",
+ "opposite",
+ "invert",
+ "switch",
+ "construct",
+ "parse",
+ "parser",
+ "argv"
],
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus at gmail.com",
- "url": "http://sindresorhus.com"
+ "url": "sindresorhus.com"
},
"scripts": {
"test": "node test.js"
diff --git a/readme.md b/readme.md
index 2666fcb..f424da3 100644
--- a/readme.md
+++ b/readme.md
@@ -1,13 +1,13 @@
# dargs [![Build Status](https://travis-ci.org/sindresorhus/dargs.svg?branch=master)](https://travis-ci.org/sindresorhus/dargs)
-> Convert an object of options into an array of command-line arguments
+> Reverse [`minimist`](https://github.com/substack/minimist). Convert an object of options into an array of command-line arguments.
-Basically the inverse of an argument parser like minimist. Useful when spawning command-line tools.
+Useful when spawning command-line tools.
## Install
-```sh
+```
$ npm install --save dargs
```
@@ -85,6 +85,7 @@ Type: `array`
Keys to include.
+
## License
MIT © [Sindre Sorhus](http://sindresorhus.com)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-dargs.git
More information about the Pkg-javascript-commits
mailing list