New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

space-cli

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

space-cli - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

lib/modules/rocketLaunch.js

7

index.js

@@ -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`.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc