Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

more examples

  • Loading branch information...
commit 5553ea0b6bf5f8c2b25fbeacd6da48c5e227b8f3 1 parent 6a686c1
@tj authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 examples/express
View
8 examples/express
@@ -9,6 +9,10 @@ var program = require('../');
program
.version('0.0.1')
.option('-s, --sessions', 'add session support')
- .option('-t, --template <engine>', 'specify template engine (jade|ejs) [jade]')
- .option('-c, --css <engine>', 'specify stylesheet engine (stylus|sass|less) [css]')
+ .option('-t, --template <engine>', 'specify template engine (jade|ejs) [jade]', 'jade')
+ .option('-c, --css <engine>', 'specify stylesheet engine (stylus|sass|less) [css]', 'css')
.parse(process.argv);
+
+console.log(' - sessions %j', program.sessions);
+console.log(' - template %j', program.template);
+console.log(' - css %j', program.css);
Please sign in to comment.
Something went wrong with that request. Please try again.