pico-args
An ultra simple CLI arguments parser.
0.5.0
69M downloads/mo
#1014 most downloaded on crates.io
RazrFalcon/pico-args
What this package is like to depend on
Last release 4 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 12 months
Nearly every release is documented
notes for 10 of 11 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
11 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
11 releases · Jul 2019 to Jun 2022
2020
2021
2022
2023
2024
2025
2026
Releases
latest 11-
0.5.004 Jun 2022Release notes
Open source →Changed
- The
eq-separatorbuild feature is no longer enabled by default. - Small changes to the
Displayoutput forError.
- The
-
0.4.203 Jun 2021 -
0.4.103 May 2021 -
0.4.003 Jan 2021Release notes
Open source →Added
Arguments::opt_free_from_*.
Changed
Arguments::finishno longer returns an error and simply returns remaining arguments as is.Arguments::free_from_*methods no longer check that argument doesn't start with-.Arguments::free_from_*methods returnTinstead ofOption<T>now. UseArguments::opt_free_from_*instead.
Removed
Arguments::freeandArguments::free_os. You should useArguments::free_from_*methods or parse them manually after callingArguments::finish.Error::UnusedArgsLeft. This should be handled by the caller now.
-
0.3.409 Aug 2020 -
0.3.326 Jun 2020Release notes
Open source →Added
values_from_str,values_from_fnandvalues_from_os_str.<br> Those functions can be used to parse arguments like:<br>--file /path1 --file /path2 --file /path3<br> But not--file /path1 /path2 /path3.
-
0.3.215 Jun 2020 -
0.3.108 Jan 2020 -
0.3.023 Sep 2019Release notes
Open source →Added
- Required arguments support.
Error::MissingOptionwhen option is required but not present.
Changed
- Rename
value_from_strintoopt_value_from_str. - Rename
value_from_fnintoopt_value_from_fn. - Rename
value_from_os_strintoopt_value_from_os_str. value_from_str,value_from_fnandvalue_from_os_strwill returnTand notOption<T>from now.
-
0.2.026 Jul 2019Release notes
Open source →Added
- Non UTF-8 arguments support.
free_from_str,free_from_fnandfree_from_os_str.value_from_os_str.
Changed
value_from_fnallows any error type that implementsDisplaynow and not onlyString.from_args->from_vec. And it acceptsVec<OsString>now.- The
Errorenum.
Fixed
- Do not panic while parsing non UTF-8 arguments.
-
0.1.021 Jul 2019Nothing published for this version