14 lines
261 B
JavaScript
14 lines
261 B
JavaScript
|
'use strict';
|
||
|
|
||
|
const yargs = require('yargs');
|
||
|
|
||
|
const { argv } = yargs
|
||
|
.command('npm start')
|
||
|
.option('render', {
|
||
|
describe: 'Fetch data without rendering interface',
|
||
|
type: 'boolean',
|
||
|
default: true,
|
||
|
});
|
||
|
|
||
|
module.exports = argv;
|