jupyter-parse-commandline-arguments
v1.0.0
Published
Parse the command line arguments to what you need
Downloads
5
Readme
Description
This module can parse the commandline arguments to what you specify.
How to use
let acceptedArguments = {
only: '',
path: '',
local: '',
}
const cmdargs = require('jupyter-parse-commandline-arguments').parseCommandlineArguments(process.argv, acceptedArguments)
console.log(cmdargs)
// {only: 'abc', path: false, local: true}
Commandline
node ./ --local --only abc