2019-01-27 14:54:29 +00:00
|
|
|
#!/usr/bin/env node
|
|
|
|
|
|
|
|
var program = require('commander');
|
|
|
|
|
|
|
|
program
|
|
|
|
.version('0.0.1')
|
2019-01-30 15:47:03 +00:00
|
|
|
|
2019-01-27 14:54:29 +00: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.')
|
2019-02-22 09:27:54 +00:00
|
|
|
.command('test', 'Run Authelia integration tests.')
|
|
|
|
.command('unittest', 'Run Authelia integration tests.')
|
2019-01-27 14:54:29 +00:00
|
|
|
|
2019-02-23 22:02:03 +00:00
|
|
|
.command('travis', 'Build and test Authelia on Travis.')
|
2019-02-22 09:59:42 +00:00
|
|
|
.command('hash-password <password>', 'Hash a password with SSHA512.')
|
2019-01-27 14:54:29 +00:00
|
|
|
.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 15:47:03 +00:00
|
|
|
.parse(process.argv);
|
2019-01-27 14:54:29 +00:00
|
|
|
|
|
|
|
|