desmotivacional-cli
Advanced tools
Comparing version 0.4.1 to 0.5.0
{ | ||
"name": "desmotivacional-cli", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"description": "Mensagens desmotivacionais via linha de comando", | ||
@@ -10,3 +10,3 @@ "preferGlobal": true, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "tape test.js" | ||
}, | ||
@@ -19,8 +19,22 @@ "keywords": [ | ||
"license": "MIT", | ||
"engines":{ | ||
"node":">=0.12.0 < 4.0.0" | ||
}, | ||
"engines": { | ||
"node": ">=0.12.0 < 4.0.0" | ||
}, | ||
"dependencies": { | ||
"commander": "^2.9.0", | ||
"unique-random-array": "^1.0.0", | ||
"winsay": "0.0.4" | ||
} | ||
}, | ||
"devDependencies": { | ||
"tape": "^4.2.2" | ||
}, | ||
"main": "index.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/welksonramos/desmotivacional-cli.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/welksonramos/desmotivacional-cli/issues" | ||
}, | ||
"homepage": "https://github.com/welksonramos/desmotivacional-cli#readme" | ||
} |
# Desmotivacional-cli | ||
[![bitHound Overalll Score](https://www.bithound.io/github/welksonramos/desmotivacional-cli/badges/score.svg)](https://www.bithound.io/github/welksonramos/desmotivacional-cli) [![bitHound Dependencies](https://www.bithound.io/github/welksonramos/desmotivacional-cli/badges/dependencies.svg)](https://www.bithound.io/github/welksonramos/desmotivacional-cli/master/dependencies/npm) [![bitHound Code](https://www.bithound.io/github/welksonramos/desmotivacional-cli/badges/code.svg)](https://www.bithound.io/github/welksonramos/desmotivacional-cli) [![npm version](https://img.shields.io/npm/v/slush-jmodule.svg)](https://www.npmjs.com/package/slush-jmodule) [![license](https://img.shields.io/npm/l/slush-jmodule.svg?style=flat)](https://raw.github.com/welksonramos/slush-jmodule/blob/master/LICENSE) | ||
> Mensagens desmotivacionais via linha de comando | ||
@@ -8,3 +8,3 @@ | ||
```bash | ||
$ npm install -g desmotivacional-cli | ||
$ npm install desmotivacional-cli --save | ||
``` | ||
@@ -14,6 +14,37 @@ | ||
```js | ||
var desmotivacional = require('desmotivacional-cli'); | ||
desmotivacional.random() | ||
=> Não desanime com a derrota de hoje. Amanhã tem outra. | ||
``` | ||
$ desmotivacional | ||
## CLI | ||
```bash | ||
npm install desmotivacional-cli -g | ||
``` | ||
``` | ||
Usage: desmotivacional [options] | ||
``` | ||
### Opções: | ||
```bash | ||
-h, --help output usage information | ||
-V, --version output the version number | ||
-a, --all display all phrases | ||
``` | ||
### Exemplos: | ||
```bash | ||
desmotivacional | ||
=> Para de bater p** pra desenho | ||
``` | ||
**Exibe todas as frases** | ||
``` | ||
desmotivacional --all | ||
=> As pessoas só te incentivam para rir do seu fracasso. | ||
=> Seus sonhos nunca se realizarão. | ||
=> ... | ||
``` | ||
* Baseado em [Desmotivacional](https://github.com/flaviotruzzi/desmotivacional) criado por [flaviotruzzi](https://github.com/flaviotruzzi) | ||
@@ -23,2 +54,1 @@ | ||
Copyright (c) 2015, Welkson Ramos. Licensed under the [MIT License](LICENSE). | ||
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
8513
9
73
0
1
52
0
3
1
+ Addedcommander@^2.9.0
+ Addedunique-random-array@^1.0.0
+ Addedcommander@2.20.3(transitive)
+ Addedunique-random@1.0.0(transitive)
+ Addedunique-random-array@1.0.1(transitive)