| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
This is my new preferred style of programming Zig :)
|
| | |
|
| |
|
|
| |
fixes #111
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Breaking change: parseEx now counts the number of occurrences of flag
parameters (those with takes_value == .none) and returns the count as a
u8. Users of the library will need to change
if (arg_result.my_flag)
to
if (arg_result.my_flag != 0)
|
| |
|
|
| |
closes #78
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changes
- `.flag`, `.option`, `.options` and `.positionals` are now just fields
you access on the result of `parse` and `parseEx`.
- `clap.ComptimeClap` has been removed.
- `clap.StreamingClap` is now called `clap.streaming.Clap`
- `parse` and `parseEx` now takes a `value_parsers` argument that
provides the parsers to parse values.
- Remove `helpEx`, `helpFull`, `usageEx` and `usageFull`. They now just
expect `Id` to have methods for getting the description and value
texts.
|
| |
|
|
| |
This reverts commit cfaac64c404fb1c2e892880410aa3b7dd881ea58.
|
| |
|
|
|
|
|
|
|
| |
This changes
- `.flag`, `.option`, `.options` and `.positionals` are now just fields
you access.
- Move the current `clap.parse` and friends into `clap.untyped.parse`
- This is in preperation for `clap.typed.parse`
|
| |
|
|
|
|
|
|
|
| |
They now follow the interface provided by the standard library. This now
means that we no longer needs `args.OsIterator` as that the one from
`std` can now be used directly.
Also remove `args.ShellIterator` as a simular iterator exists in `std`
called `ArgIteratorGeneral`.
|
| |
|
|
| |
fixes comment on #11
|
| | |
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
* Better naming for variables
* Follow naming style of enums
* Use `writer()` instead of `outStream()`
* Change many initializers to be a one liner
* Don't explicitly initialize fields to their default value
|
| | |
| |
| |
| |
| |
| | |
This allows for default arguments, which we can also extend without
breaking peoples code in the future. This is a breaking change right now
though.
|
| |/ |
|
| |
|