Skip to content

Instantly share code, notes, and snippets.

@ch1c0t
Created September 27, 2017 12:11
Show Gist options
  • Save ch1c0t/6565d865807fda6652746176c2244308 to your computer and use it in GitHub Desktop.
Save ch1c0t/6565d865807fda6652746176c2244308 to your computer and use it in GitHub Desktop.
pug = require 'pug'
file = process.argv[2]
template = pug.compileFile file
console.log template name: 'Timothy'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment