https://github.com/jondotsoy/args-parser
https://github.com/jondotsoy/args-parser
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jondotsoy/args-parser
- Owner: JonDotsoy
- License: mit
- Created: 2022-09-26T05:57:13.000Z (over 2 years ago)
- Default Branch: development
- Last Pushed: 2022-09-30T14:57:08.000Z (over 2 years ago)
- Last Synced: 2025-01-26T10:30:40.904Z (4 months ago)
- Language: TypeScript
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Argument Parse
An argument parser with a good definition.
- Describe the argument spec
- Help dialog generator
- Options and Argument parser### Bind a command spec
## Sample Args Integration
```yaml
# /cli/args.yaml
name: cli
description: the super cli
subcommands:
- name: user
description: edit users, create users, etc...
subcommands:
- name: edit
arguments:
- name: user_id
handler:
$ref: userEdit.ts
```## Contribution
Please install next dependencies:
- husky (https://typicode.github.io/husky/#/?id=manual)
- commitlint (https://commitlint.js.org/#/?id=install)