🍀✨ Simplistic argument parser.
npm install @terminalfreaks/clover
const clover = require("@terminalfreaks/clover");
const options = clover("--greeting Hello -s");
console.log(options);
console.log(clover.isEmpty(options.s));
clover.isEmpty(option)
- Checks if option
is empty (example: --hi
) or isn't passed.