Comparing version 0.2.0 to 0.3.0
@@ -7,6 +7,6 @@ #!/usr/bin/env node | ||
// ./modules | ||
const rocketLaunch = require('./modules/rocketLaunch'); | ||
const rocketLaunch = require('./lib/modules/rocketLaunch'); | ||
var argv = yargs | ||
.usage('Usage: $0 <command> [options]') | ||
.usage('Usage: space <command> [options]') | ||
.demandCommand(1) | ||
@@ -19,2 +19,5 @@ .command('about', 'Info about the CLI', about) | ||
describe: 'Details about the next launch' | ||
}).option('tz', { | ||
alias: 'timezone', | ||
describe: 'Define time zone for time info e.g. America/New_York, Europe/Paris, Asia/Shanghai' | ||
}); | ||
@@ -21,0 +24,0 @@ }, |
{ | ||
"name": "space-cli", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "CLI for space information", | ||
@@ -18,3 +18,7 @@ "main": "index.js", | ||
"author": "Belar <belar@belardesign.com>", | ||
"license": "", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/Belar/space-cli.git" | ||
}, | ||
"bin": { | ||
@@ -26,2 +30,4 @@ "space": "./index.js" | ||
"chalk": "^1.1.3", | ||
"moment": "^2.18.1", | ||
"moment-timezone": "^0.5.11", | ||
"yargs": "^7.0.2" | ||
@@ -28,0 +34,0 @@ }, |
@@ -1,3 +0,23 @@ | ||
# space-cli | ||
# Space CLI | ||
CLI for space information | ||
## Requirements: | ||
[Node](https://nodejs.org/en/) | ||
[npm](https://docs.npmjs.com/getting-started/installing-node) (installed with Node by default) | ||
## Installation | ||
``` | ||
npm install -g space-cli | ||
``` | ||
## Usage | ||
``` | ||
space <command> [options] | ||
``` | ||
**Example commands:** | ||
`space next` - show id, name and time (scheduled attempted) of the next rocket launch | ||
`space next -d -tz Asia/Shanghai` - show id, name, time (scheduled attempted) converted to CST time zone, available live stream options and name of the rocket | ||
Space CLI is in active development, to see currently available commands and options, use `space -h`. |
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 2 instances 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
5187
7
0
69
24
0
5
+ Addedmoment@^2.18.1
+ Addedmoment-timezone@^0.5.11
+ Addedcall-bind-apply-helpers@1.0.1(transitive)
+ Addedmoment@2.30.1(transitive)
+ Addedmoment-timezone@0.5.47(transitive)
- Removedcall-bind-apply-helpers@1.0.2(transitive)