mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
12 lines
319 B
TypeScript
12 lines
319 B
TypeScript
|
import * as program from 'commander';
|
||
|
import * as pkg from '../package.json';
|
||
|
|
||
|
program
|
||
|
.version(pkg.version)
|
||
|
.option('--no-daemons', 'Disable daemon processes (for debbuging)')
|
||
|
.option('--disable-clustering', 'Disable clustering')
|
||
|
.option('--quiet', 'Suppress all logs')
|
||
|
.parse(process.argv);
|
||
|
|
||
|
export { program };
|