Skip to content

Releases: parasyte/onlyargs

0.2.0

22 Feb 17:05
0efa60f
Compare
Choose a tag to compare

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

19 Feb 03:11
f40e679
Compare
Choose a tag to compare

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

12 Feb 09:08
0948909
Compare
Choose a tag to compare

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

14 Apr 01:17
ea38828
Compare
Choose a tag to compare

Fixes:

  • Fixed padding on #[long] args in help text. (#7)

0.1.1

12 Apr 19:51
815b77d
Compare
Choose a tag to compare

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)

0.1.0

10 Apr 23:57
daea789
Compare
Choose a tag to compare

Initial release!