hkalbasi / clap-repl Goto Github PK
View Code? Open in Web Editor NEWBuild nice REPLs using clap and rustyline with zero effort
Home Page: https://crates.io/crates/clap-repl
License: Apache License 2.0
Build nice REPLs using clap and rustyline with zero effort
Home Page: https://crates.io/crates/clap-repl
License: Apache License 2.0
I've noticed that the crate doesn't currently support structures like this:
enum Command {
PrimaryCommand {
subcommand: SubCommand,
}
}
enum Subcommand {
PrimaryCommand {
some_arg: String,
}
}
The issue arises because Subcommand doesn't implement necessary clap traits. It would be great if support could be added for this. Do you have an idea of how you'd do this? I don't mind assisting as well.
Nice work with this crate. ๐๐ผ
Filling in "the About blank" below will help me remember what this project is about next time I'm "flipping through" all my projects/tools reference. I'd like to remember clap-repl, because it seems quite useful.
A reference to a crates.io page, if any, might help too. (Warning: I'm a Rust newbie, so I may not know what I'm talking about.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.