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