internal api change

commands can export two main functions with different purposes:

 - exports.cli
   called directly by the command that the user entered on the
   console.
   will most likely call the api functions from the `default`
   export and take care of the communication with the user
   (quite often printing results to stdout)
   the functions will be available in the `nemo.cli` namespace
   corresponding doc section: `doc/cli`

 - default exports:
   called by the cli functions for preparing the output to stdout.
   can be used programatically.
   namespace: `nemo.commands`
   corresponding doc section: `doc/api`
10 files changed
tree: efa31be861d8070a86ac4362bc0b603bce155288
  1. doc/
  2. src/
  3. test/
  4. .gitignore
  5. .travis.yml
  6. index.js
  7. LICENSE
  8. package.json
  9. README.md
README.md

nemo

nemo is a cli tool to manage CouchDB Clusters and nodes in a cluster.

Contributing

It is written in ES6 and is using promises and generators for control flow. We are aiming for 100% test coverage.