PoshHsu / nodester-cli

Command Line Interface around api

Home Page:http://nodester.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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=;

About

Command Line Interface around api

http://nodester.com