xflags
By matklad
rustscript
Use Rust as a scripting language (by faern)
xflags | rustscript | |
---|---|---|
6 | 3 | |
75 | 99 | |
- | - | |
7.5 | 0.0 | |
3 days ago | over 7 years ago | |
Rust | Rust | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
rustscript
Posts with mentions or reviews of rustscript.
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
-
Such a cursed image
Jokes on you KotlinScript already exists and rustscript kinda does too. And well Python is a scripting language by default.
-
RustScript: A simple functional based programming language with as much relation to Rust as JavaScript has to Java
Hahaha, it’s not even written in Rust. Have you checked out rustscript? It generates a cargo project from one-off Rust files and lets you treat (actual) Rust as a scripting language. I definitely love your Haskell and Python influence, it looks fun to use!
What are some alternatives?
When comparing xflags and rustscript you can also consider the following projects:
pico-args - An ultra simple CLI arguments parser.
rust - Empowering everyone to build reliable and efficient software.
argh - Rust derive-based argument parsing optimized for code size
cargo-xtask
getargs - A truly zero-cost argument parser for Rust
lexopt - Minimalist pedantic command line parser
gumdrop - Rust option parser with custom derive support
clap-rs - A full featured, fast Command Line Argument Parser for Rust