misskey/src/argv.ts

12 lines
319 B
TypeScript
Raw Normal View History

2019-02-03 11:10:20 +00:00
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 };