jupyter-parse-commandline-arguments

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i jupyter-parse-commandline-arguments

Weekly Downloads

3

Version

1.0.0

License

ISC

Last publish

Collaborators

  • jupyter-server-release-bot
  • jupyter-release-bot
  • zsailer
  • vidartf
  • krassowski
  • hbcarlos
  • davidbrochart
  • ajbozarth
  • darian
  • blink1073
  • jtpio
  • fcollonval