nodester-cli
v1.1.1
Published
A CLI tool to allow interaction with the http://nodester.com/ platform.
Downloads
51
Keywords
Readme
Nodester API CLI access
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 <[email protected]>](http://danb-uk.net/)
- [Dav Glass <[email protected]>](http://twitter/@davglass)
- Abraham Williams <[email protected]>
- Contra <[email protected]>
- Marcos Oliveira <[email protected]>
- [Alejandro Morales](http://alejandromorales.co.cc)
License
MIT 2012 - Nodester