2019-01-27 21:54:29 +07:00
|
|
|
#!/usr/bin/env node
|
|
|
|
|
|
|
|
var program = require('commander');
|
|
|
|
|
|
|
|
program
|
|
|
|
.version('0.0.1')
|
2019-01-30 22:47:03 +07:00
|
|
|
|
2019-01-27 21:54:29 +07:00
|
|
|
.command('start', 'Start development environment.')
|
|
|
|
.command('build', 'Build production version of Authelia from source.')
|
|
|
|
.command('clean', 'Clean the production version of Authelia.')
|
|
|
|
.command('serve', 'Serve production version of Authelia.')
|
|
|
|
.command('test', 'Run Authelia unit tests.')
|
|
|
|
|
|
|
|
.command('build-docker', 'Build Docker image containing production version of Authelia.')
|
|
|
|
.command('publish-docker', 'Publish Docker image containing production version of Authelia to Dockerhub.')
|
2019-01-30 22:47:03 +07:00
|
|
|
.parse(process.argv);
|
2019-01-27 21:54:29 +07:00
|
|
|
|
|
|
|
|