12 lines
232 B
JavaScript
12 lines
232 B
JavaScript
|
import yargs from 'yargs';
|
||
|
|
||
|
const { argv } = yargs()
|
||
|
.command('npm start')
|
||
|
.option('debug', {
|
||
|
describe: 'Show error stack traces',
|
||
|
type: 'boolean',
|
||
|
default: process.env.NODE_ENV === 'development',
|
||
|
});
|
||
|
|
||
|
export default argv;
|