lib/cli/getOutputFolder.js
function getOutputFolder(args) {
    var bookRoot = path.resolve(args[0] || process.cwd());
    var defaultOutputRoot = path.join(bookRoot, '_book');
    var outputFolder = args[1]? path.resolve(process.cwd(), args[1]) : defaultOutputRoot;

    return outputFolder;
}
function getOutputFolder(args) {
    var bookRoot = path.resolve(args[0] || process.cwd());
    var defaultOutputRoot = path.join(bookRoot, '_book');
    var outputFolder = args[1]? path.resolve(process.cwd(), args[1]) : defaultOutputRoot;

    return outputFolder;
}
function getOutputFolder ( args ) { var bookRoot = path . resolve ( args [ 0 ] || process . cwd ( ) ) ; var defaultOutputRoot = path . join ( bookRoot , '_book' ) ; var outputFolder = args [ 1 ] ? path . resolve ( process . cwd ( ) , args [ 1 ] ) : defaultOutputRoot ; return outputFolder ; }
Return path to output folder

@param {Array} args
@return {String}
Return path to output folder