1.0.2 • Published 3 years ago
cargs v1.0.2
cargs
Lightweight parser of cli arguments
Installation
Using npm
npm i cargs
Example of usage
const fargs = require('cargs').default;
const [command, args] = fargs.parse(process.argv, { hasCommand : true, delimeter : '-' });
console.log(command, args);