xflags | lexopt | |
---|---|---|
6 | 3 | |
75 | 273 | |
- | - | |
7.5 | 5.8 | |
3 days ago | 5 months ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
xflags
Posts with mentions or reviews of xflags.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-11.
-
Started using Rust for scripting
3) xflags is my preferred way to parse CLI arguments for such scripts. It's not good at all, but, for me, it's the best for the task at the moment.
- Announcement: xflags 3.0.0
-
pico-args: An ultra simple CLI arguments parser with 0 dependencies
You might like xflags. It has a similar design philosophy, but is willing to compromise on simplicity a bit to get auto-generated help.
-
Announcement: xflags, fast-to-compile proc macro for cli args
See also https://github.com/matklad/xflags/issues/3
-
Argument parsers that don't choke on invalid unicode
Added https://github.com/matklad/xflags/blob/master/examples/non-utf8.rs.
lexopt
Posts with mentions or reviews of lexopt.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-08.
-
Announcement: xflags 3.0.0
if you want to be maximally minimal, need only basic features (eg, no help generation), and want to be pedantically correct, use lexopt
-
Creating an Argparse library [feedback would be appreciated]
You might also want to check out pico-args, Gumdrop, and lexopt to see if any of them meet your needs.
- lexopt: a minimalist pedantic argument parser
What are some alternatives?
When comparing xflags and lexopt you can also consider the following projects:
pico-args - An ultra simple CLI arguments parser.
argh - Rust derive-based argument parsing optimized for code size
getargs - A truly zero-cost argument parser for Rust
argi - Argument parsing for the future 🚀
gumdrop - Rust option parser with custom derive support
ripgrep - ripgrep recursively searches directories for a regex pattern while respecting your gitignore
clap-rs - A full featured, fast Command Line Argument Parser for Rust
cargo-supply-chain - Gather author, contributor and publisher data on crates in your dependency graph.