Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including nodester-cli with all npm packages installed. Try it out:

var nodesterCli = require("nodester-cli")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

nodester-cli v1.1.1

A CLI tool to allow interaction with the http://nodester.com/ platform.

Nodester API CLI access Build Status

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

Installation

npm install nodester-cli -g

Usage

In your CLI run one of these commands:

$ nodester 
$ nodester app <usage>
$ nodester user <usage>

Each of them will outpot the help for the respective command.

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

In the newest version of nodester-cli you can easily switch betwen instances running:

$ nodester config set <apiendpoint> <brand>

after this you can access to your instance. To rollback to the nodester endpoint run:

$ nodester config set api.nodester.com nodester

Also you can see what is the current configuration running:

$ nodester config get

Also you can take a look at examples and see how can you roll out your personal nodester-cli

Contributors

The nodester community (nodester authors):

- [Chris Matthieu](http://matthieu.us)
- [Daniel Bartlett <dan@f-box.org>](http://danb-uk.net/)
- [Dav Glass <davglass@gmail.com>](http://twitter/@davglass)
- Abraham Williams <4braham@gmail.com>
- Contra <contra@australia.edu>
- Marcos Oliveira <marcosvm@gmail.com>
- [Alejandro Morales](http://alejandromorales.co.cc)

License

MIT 2012 - Nodester

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free