add nodify feature

It should be used in conjunction with [error-handler](https://github.com/cortexjs/cortex-command-errors/pull/3)