express
This file
Path
examples/express
15 lines · 591 bytes
Last changed by
Merge branch 'develop' into release/5.xJohn Geebefore adoption491b2e4
History of this fileTake it
The walk stopped after 200 commits: lines older than 689c0ea point at it.
Fix typing of help functionYevheniibefore adoption689c0ea
lines 1–2why, one step back1#!/usr/bin/env node2Merge branch 'develop' into release/5.xJohn Geebefore adoption491b2e4
lines 3–4why, one step back3// const program = require('commander'); // (normal include)4const program = require('../'); // include commander in git clone of commander repoFix typing of help functionYevheniibefore adoption689c0ea
lines 5–15why, one step back56program7 .version('0.0.1')8 .option('-s, --sessions', 'add session support')9 .option('-t, --template <engine>', 'specify template engine (jade|ejs) [jade]', 'jade')10 .option('-c, --css <engine>', 'specify stylesheet engine (stylus|sass|less) [css]', 'css')11 .parse(process.argv);1213console.log(' - sessions %j', program.sessions);14console.log(' - template %j', program.template);15console.log(' - css %j', program.css);