Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: set default on argv and move to end #4

Merged
merged 2 commits into from
Dec 7, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
docs: update argv
  • Loading branch information
privatenumber committed Dec 7, 2021
commit 4337604d910661759fca21200c4fbe300aaac063
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Parse CLI argv flags with first-class type support. Think [minimist](https://github.com/substack/minimist), but typed!

### Features
- **Typed flags** Automatically infer types on parsed argvs!
- **Strongly typed** Apply types to parsed argvs!
- **Custom types & validation** Pass in any function and the type will be inferred!
- **Tiny** 2.7 kB minified!

Expand All @@ -21,7 +21,7 @@ Here's a simple usage example:
```ts
import typeFlag from 'type-flag'

// Pass in argvs, flag schemas, and parse!
// Pass in flag schemas, and parse!
const parsed = typeFlag({

// Define flags here...
Expand Down