bin/webgme-dockerize
#!/usr/bin/env node
var Command = require('commander').Command,
program = new Command(),
DockerizeManager = require('../src/DockerizeManager'),
manager = new DockerizeManager();
program
.option('-p, --production',
'If set will include templates for a proxy and authentication')
.option('-f, --force-update',
'If set will overwrite any existing files')
.action(function() {
manager.dockerize(program);
})
.parse(process.argv);
if (program.args.length === 0) { // action will not be called
manager.dockerize(program);
}