Cli-sac

Posted by Cyril Walle

cli-sac

Parse cli key value pairs

Installation

npm i cli-sac

Usage

import { parseCli } from "parse-cli";

parseCli(); // returns obect

Example

node examples/example.js favouriteColor=red age=120

Output

{ favouriteColor: 'red', age: '120' }

About

Changelog

Changelog

License

CC0