2019-01-27 14:54:29 +00:00
|
|
|
#!/usr/bin/env node
|
|
|
|
|
|
|
|
var program = require('commander');
|
2019-03-02 15:19:08 +00:00
|
|
|
|
2019-01-27 14:54:29 +00:00
|
|
|
program
|
|
|
|
.version('0.0.1')
|
2019-01-30 15:47:03 +00:00
|
|
|
|
2019-03-03 22:51:52 +00:00
|
|
|
.command('bootstrap', 'Prepare some containers for development.')
|
2019-03-02 15:19:08 +00:00
|
|
|
.command('suites', 'Run Authelia in specific environments.')
|
|
|
|
.command('serve', 'Run Authelia with a customized configuration.')
|
2019-01-27 14:54:29 +00:00
|
|
|
.command('build', 'Build production version of Authelia from source.')
|
|
|
|
.command('clean', 'Clean the production version of Authelia.')
|
2019-02-22 09:27:54 +00:00
|
|
|
.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-03-01 21:52:01 +00:00
|
|
|
.command('docker', 'Docker related commands.')
|
2019-03-02 15:19:08 +00:00
|
|
|
.parse(process.argv);
|