Public commands api exported by Nightwatch in order to be extended upon from outside.
Example:
const {Quit: quit} = require('nightwatch/api');
module.exports = CustomQuit extends Quit {
async command(cb = function(r) {return r}) {
console.log('from custom quit command');
await super.command(cb);
}
}
This is a work in progress.