cli.js
function onDataOutput() {
    if (!opts.outputDir) {
        return;
    }

    if (opts.interactive) {
        console.log('\n\n\n');
    }

    var dir = path.resolve(opts.outputDir);
    console.log('Demo app generated in ' + dir + '. To run:');
    console.log('cd ' + dir);
    console.log('npm install');
    console.log('npm start');
    console.log();
    console.log('Then point your browser at http://localhost:3000');
}
function onDataOutput() {
    if (!opts.outputDir) {
        return;
    }

    if (opts.interactive) {
        console.log('\n\n\n');
    }

    var dir = path.resolve(opts.outputDir);
    console.log('Demo app generated in ' + dir + '. To run:');
    console.log('cd ' + dir);
    console.log('npm install');
    console.log('npm start');
    console.log();
    console.log('Then point your browser at http://localhost:3000');
}
When the data has been written to stdout/files