mmcwilliams
a5b4ef2149
Refactored into es6 style, intention is to extend it to accept delays in looping logic |
||
---|---|---|
.. | ||
Readme.md | ||
index.js |
Readme.md
mscript
Object representing mscript parser
Kind: global constant
mscript.arg(shrt, lng)
Determine whether or not argument flag has been set
Kind: static method of mscript
Param | Type | Description |
---|---|---|
shrt | string |
Short flag name (ie -a ) |
lng | string |
Long flag name (ie --apple ) |
mscript.arg_pos(shrt, lng)
Determine position of flag, in argument array
Kind: static method of mscript
Param | Type | Description |
---|---|---|
shrt | string |
Short flag name (ie -a ) |
lng | string |
Long flag name (ie --apple ) |