2019-01-27 21:54:29 +07:00
|
|
|
#!/usr/bin/env node
|
|
|
|
|
|
|
|
var program = require('commander');
|
2019-03-02 22:19:08 +07:00
|
|
|
|
2019-01-27 21:54:29 +07:00
|
|
|
program
|
|
|
|
.version('0.0.1')
|
2019-01-30 22:47:03 +07:00
|
|
|
|
2019-03-04 05:51:52 +07:00
|
|
|
.command('bootstrap', 'Prepare some containers for development.')
|
2019-03-02 22:19:08 +07:00
|
|
|
.command('suites', 'Run Authelia in specific environments.')
|
|
|
|
.command('serve', 'Run Authelia with a customized configuration.')
|
2019-01-27 21:54:29 +07:00
|
|
|
.command('build', 'Build production version of Authelia from source.')
|
|
|
|
.command('clean', 'Clean the production version of Authelia.')
|
2019-02-22 16:27:54 +07:00
|
|
|
.command('unittest', 'Run Authelia integration tests.')
|
2019-01-27 21:54:29 +07:00
|
|
|
|
2019-02-24 05:02:03 +07:00
|
|
|
.command('travis', 'Build and test Authelia on Travis.')
|
2019-02-22 16:59:42 +07:00
|
|
|
.command('hash-password <password>', 'Hash a password with SSHA512.')
|
2019-03-02 04:52:01 +07:00
|
|
|
.command('docker', 'Docker related commands.')
|
2019-03-02 22:19:08 +07:00
|
|
|
.parse(process.argv);
|