Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/desm/config-from-argv-ts-example
https://github.com/desm/config-from-argv-ts-example
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/desm/config-from-argv-ts-example
- Owner: desm
- Created: 2024-04-26T16:54:49.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-04-26T16:54:52.000Z (7 months ago)
- Last Synced: 2024-05-11T18:18:04.619Z (6 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# config-from-argv-ts-example
A complete TypeScript example of using the NPM module [config-from-argv](https://www.npmjs.com/package/config-from-argv).
## Usage
```Shell
$ npm install
$ ./dist/example.js
$ ./dist/example.js -x
$ ./dist/example.js -f other.txt
$ ./dist/example.js -p 30
$ ./dist/example.js -x -f one.txt -p 2
```