🚀 CLI for space information
JavaScript
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
test
.editorconfig
.eslintrc
.gitignore
.npmignore
license
package-lock.json
package.json
readme.md

readme.md

Space CLI

CLI for space information

Requirements:

Node
npm (installed with Node by default)

Installation

npm install -g space-cli

Usage

space <command> [options]

Example commands:
space launch - shows id, launch name, time (scheduled attempted) and available live stream options for the next rocket launch
space launch -v --tz Asia/Shanghai -n 5 - shows id, launch name, time (scheduled attempted) converted to CST time zone, name of a rocket, and missions (with type and description) for the next 5 launches

Settings

Settings allow you to store preferred values (e.g. time zone) which will be automatically used during [empty] option call. Settings can be found in <user_dir>/.spacecli dir.

Example commands:
space settings --tz Asia/Shanghai - save Asia/Shanghai as preferred time zone
space launch --tz - Command will automatically use Asia/Shanghai for time convertion, unless different time zone is specified

Space CLI is in active development, to see currently available commands and options, use space -h.