Command line interface parsing function. As time passes, I aspire to have the same capability offered in all languages I am interested in.
For now the supported languages are:
- js
git clone [email protected]:pnoulis/getopts.git
For specific details on the parameter list and return value
read the source file comments: getopts.js;
npm install [email protected]:pnoulis/getopts.git
echo '
import { getopts } from "getopts";
' > index.js
node index.js