Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 872 Bytes

README.md

File metadata and controls

36 lines (22 loc) · 872 Bytes

Nodester API CLI access

This app is a little wrapper around the REST API for the Nodester OS Node hosting platform.

Installation

If you are using npm 1.0 you need to provide the -g flag to install this app globally.

npm install nodester-cli -g

Usage

nodester help
nodester help app
nodester help user

//All options
nodester help all

Local installation

If you have your own instance of Nodester installed on your own server, the command line app is designed to work with that too. Currently it supports 3 environment variables to change a couple of default settings.

Here is a simple example:

#!/bin/bash

export NODESTER_BRAND=davster;
export NODESTER_APIHOST=auth.davglass.com;
nodester "$@"
export NODESTER_BRAND=;
export NODESTER_APIHOST=;