Before, a single instance of yargs was accumulating options, so commands parsed later would have options from prior commands. That's because all yargs options are global by default. Now, a new instance of yargs is required before each command is parsed, so global options aren't accumulated.
fixes#1567
Follow the new package architecture.
The generation of the documentation has been improved, new helper
functions have been added to handle the new architecture.