musicplayer-cli
Advanced tools
Comparing version 1.0.0 to 1.0.1
var API, MusicPlayerAPI, conf, config, error, fs, home, homedir, path, pkg, program, readline, rl; | ||
MusicPlayerAPI = require("musicplayer-api"); | ||
MusicPlayerAPI = require("musicplayer"); | ||
@@ -93,3 +93,3 @@ program = require("commander"); | ||
program.command("backward").alias("previous").description("Previous song").action(function(env) { | ||
program.command("backward").alias("prev").description("Previous song").action(function(env) { | ||
return API.backward.post(function(res) { | ||
@@ -124,2 +124,4 @@ if (res.status === false) { | ||
} | ||
}).on("--help", function() { | ||
return console.log("Examples:\n $ musicplayer subreddits listentothis+music\n $ musicplayer subreddits atmosphericdnb\n\n $ musicplayer subreddits"); | ||
}); | ||
@@ -149,2 +151,6 @@ | ||
program.command("*").description("Help").action(function() { | ||
return program.help(); | ||
}); | ||
program.parse(process.argv); |
{ | ||
"name": "musicplayer-cli", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "API for the Music Player", | ||
@@ -9,6 +9,25 @@ "author": "Ilias Ismanalijev", | ||
"commander": "^2.8.1", | ||
"musicplayer": "file:../musicplayer-api", | ||
"musicplayer-api": "file:../musicplayer-api", | ||
"musicplayer": "^1.0.1", | ||
"os-homedir": "^1.0.0" | ||
}, | ||
"keywords": [ | ||
"music", | ||
"player", | ||
"tool", | ||
"cli" | ||
], | ||
"homepage": "http://www.musicplayer.io", | ||
"bugs": { | ||
"url": "https://github.com/musicplayer-io/musicplayer-cli/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/musicplayer-io/musicplayer-cli.git" | ||
}, | ||
"preferGlobal": true, | ||
"author": { | ||
"name": "Ilias Ismanalijev", | ||
"email": "hello@illyism.com", | ||
"url": "http://il.ly" | ||
}, | ||
"bin": { | ||
@@ -15,0 +34,0 @@ "musicplayer": "./bin/musicplayer" |
## Music Player CLI | ||
> Command Line Interface for the Music Player | ||
### Installation | ||
´´´ | ||
$ npm install -g musicplayer-cli | ||
´´´ | ||
### Usage | ||
´´´ | ||
Usage: musicplayer [command] | ||
Commands: | ||
play Play the song | ||
pause|stop Pause the song | ||
toggle Toggle the song | ||
forward|next Next song | ||
backward|prev Previous song | ||
state Get player state | ||
subreddits [subs] Get or set subreddits | ||
user Get user information | ||
song Get song information | ||
* Help | ||
Options: | ||
-h, --help output usage information | ||
-V, --version output the version number | ||
´´´ |
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 website
QualityPackage does not have a website.
Found 1 instance in 1 package
6307
3
131
1
0
36
2
+ Addedajv@6.12.6(transitive)
+ Addedasn1@0.2.6(transitive)
+ Addedassert-plus@1.0.0(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedaws-sign2@0.7.0(transitive)
+ Addedaws4@1.13.0(transitive)
+ Addedbcrypt-pbkdf@1.0.2(transitive)
+ Addedcaseless@0.12.0(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addedcore-util-is@1.0.2(transitive)
+ Addeddashdash@1.14.1(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedecc-jsbn@0.1.2(transitive)
+ Addedextend@3.0.2(transitive)
+ Addedextsprintf@1.3.0(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedfast-json-stable-stringify@2.1.0(transitive)
+ Addedforever-agent@0.6.1(transitive)
+ Addedform-data@2.3.3(transitive)
+ Addedgetpass@0.1.7(transitive)
+ Addedhar-schema@2.0.0(transitive)
+ Addedhar-validator@5.1.5(transitive)
+ Addedhttp-signature@1.2.0(transitive)
+ Addedis-typedarray@1.0.0(transitive)
+ Addedisstream@0.1.2(transitive)
+ Addedjsbn@0.1.1(transitive)
+ Addedjson-schema@0.4.0(transitive)
+ Addedjson-schema-traverse@0.4.1(transitive)
+ Addedjson-stringify-safe@5.0.1(transitive)
+ Addedjsprim@1.4.2(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedmusicplayer@1.0.6(transitive)
+ Addedoauth-sign@0.9.0(transitive)
+ Addedperformance-now@2.1.0(transitive)
+ Addedpsl@1.9.0(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedqs@6.5.3(transitive)
+ Addedrequest@2.88.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsshpk@1.18.0(transitive)
+ Addedtough-cookie@2.5.0(transitive)
+ Addedtunnel-agent@0.6.0(transitive)
+ Addedtweetnacl@0.14.5(transitive)
+ Addeduri-js@4.4.1(transitive)
+ Addeduuid@3.4.0(transitive)
+ Addedverror@1.10.0(transitive)
Updatedmusicplayer@^1.0.1