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