14 lines
257 B
TypeScript
14 lines
257 B
TypeScript
const argv = require('minimist')(process.argv.slice(2));
|
|
|
|
export type Args = {
|
|
devMode: boolean;
|
|
debug: boolean;
|
|
repl: boolean;
|
|
};
|
|
|
|
export const args: Args = {
|
|
repl: argv.repl ?? false,
|
|
devMode: argv.dev ?? false,
|
|
debug: argv.debug ?? false,
|
|
};
|