get-cli-arg v8.6.0
Get the value of a CLI argument
npm
Usage
Supports fetching the value of an argument with the following convention:
--arg
=>true
--arg=
=>false
--arg="string"
=>"string"
--arg={"a":1}
=>{"a": 1}
Uses normalify for value parsing.
import getarg from 'get-cli-arg'
console.log(getarg(process.argv, 'arg'))
Discover the release history by heading on over to the HISTORY.md file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
Unless stated otherwise all works are:
and licensed under:
4 months ago
4 months ago
6 months ago
6 months ago
5 months ago
5 months ago
5 months ago
6 months ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago