#!/usr/bin/env node var startServer = require('../lib').server; var build = require('../lib').build; const path = require('path'); if (process.argv[2] ==="build"){ build(path.resolve(process.argv[3] || process.cwd())) } else{ startServer(path.resolve(process.argv[2] || process.cwd())) }