1.0.1 • Published 9 months ago
@cafeine-software/argv v1.0.1
Argv.js
A simple and lightweight module to parse command line arguments
Installation • Usage • License • Contact
Installation
Install the package via npm:
npm install argv.jsUsage
Importing
import Argv from 'argv.js';Basic Example
If you run the following script:
node script.js --verbose -f config.json --debugThe code:
const args = Argv.parse();
console.log(args);Will output:
{
verbose: true,
f: 'config.json',
debug: true
}License
Contact
Developed by Quentin Lamamy.
- Email: contact@quentin-lamamy.fr
- GitHub: github.com/quentin-lamamy
- Cafeine Github: github.com/Cafeine-Software