olympus-tools
v0.0.12
Published
Command-Line Interface for Olympus
Downloads
10
Readme
Olympus CLI
These are the Olympus Command Line Interface (CLI) Tools. They can be used to:
- Deploy code and assets to your Olympus Modules
Installation
To install the Olympus CLI, you first need to sign up for a Olympus account.
Then you need to install Node.js and npm. Note that installing Node.js should install npm as well.
npm install -g olympus-tools
This will provide you with the globally accessible olympus
command.
Commands
The command olympus --help
lists the available commands and olympus <command> --help
shows more details for an individual command.
If a command is project-specific, you must either be inside a project directory with an
active project alias or specify the Olympus project id with the -P <project_id>
flag.
Below is a brief list of the available commands and their function:
Administrative Commands
Command | Description ------- | ----------- login | Authenticate to your Olympus account. Requires access to a web browser. logout | Sign out of the Olympus CLI. help | Display help information about the CLI or specific commands.
Append --no-localhost
to login (i.e., olympus login --no-localhost
) to copy and paste code instead of starting a local server for authentication. A use case might be if you SSH into an instance somewhere and you need to authenticate to Olympus on that machine.