Releases: parasyte/onlyargs
Releases · parasyte/onlyargs
0.2.0
Improvements:
- Added support for multi-value arguments by passing the argument on the CLI multiple times. (#37).
Breaking changes:
#[positional]
is now required to define the positional args vector. Any "non-positional" vector will be treated as a named multi-value argument. (#37)
onlyargs_derive 0.1.4
Fixes:
- Fixes defaults for float and integer. (#34)
- Addresses a
From<i32>
compiler error introduced in 0.1.3.
- Negative numbers are still not working.
- Fixes compile error when the derived struct contains a field called
name
. (#34)
0.1.3
Improvements:
- Added
impl_help!()
and impl_version!()
macros to provide generic HELP and VERSION strings for OnlyArgs
trait impls. (#14)
- Added
#[footer = "..."]
attributes to onlyargs_derive
that provides context to the bottom of the help message. (#25)
Fixes:
- Fixes the application name and version number printed in the help message with
onlyargs_derive
. (#14)
- Allow indentation to appear in doc comments with
onlyargs_derive
. (#22)
- Fixes
#[default(...)]
attribute in onlyargs_derive
for bool
, PathBuf
, and OsString
types. (#27)
- Numeric defaults may need to be annotated with type information to avoid a compile error.
Contributors 💖:
0.1.2
Fixes:
- Fixed padding on
#[long]
args in help text. (#7)
0.1.1
Improvements:
- Added an example to
onlyargs_derive
documentation. (#4)
Fixes:
- The derive macro can now be used in library crates. (#4)
- The README should now be available on crates.io (#3)