Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 9 lines (5 sloc) 206 Bytes
#!/usr/bin/env babel-node
/* eslint no-var: 0 */
var server = require('./js/server');
if (process.argv.length < 3) { throw Error("Missing arguments"); }
console.log(server.render(process.argv[2]).html);