0.0.3 • Published 1 year ago
@funish/argv v0.0.3
@funish/argv
Programmatically parse command line parameters, powered by Funish.
Getting started
# npm
$ npm install @funish/argv
# yarn
$ yarn add @funish/argv
# pnpm
$ pnpm add @funish/argv
Usage
import { parseArgv } from "@funish/argv";
const argv = parseArgv([
"-b",
"--bool",
"--no-meep",
"--multi=baz",
"--foo",
"bar",
]);
// => { _: [], b: true, bool: true, meep: false, multi: "baz", foo: "bar" }
Interfaces
See it on JSDoc.
License
0.0.4-edge.3
1 year ago
0.0.4-edge.2
1 year ago
0.0.4-edge.1
1 year ago
0.0.4-edge.0
2 years ago
0.0.3
2 years ago
0.0.3-edge.2
2 years ago
0.0.3-edge.1
2 years ago
0.0.3-edge.0
2 years ago
0.0.2
2 years ago
0.0.2-edge.0
2 years ago
0.0.1
2 years ago
0.0.1-edge.1
2 years ago
0.0.0
2 years ago