Comments (1)
This line Should probably return a BTreeMap<u8, &str>
where positional arguments are first in, with index as keys, and everything else is just a key_counter += 1
. Or just use a FIFO queue of some type.
... Thinking out loud.
Eventually (read soon), I'd like to re-look at the use of data structures throughout clap
and see if there are more efficient choices, (i.e. using perhaps using a more standard Map and just sorting only when needed)?
from clap.
Related Issues (20)
- clap_complete bash: filenames with spaces are not completed properly HOT 5
- Move clap_complete_fig and clap_complete_nushell into clap_complete HOT 6
- Argument conflict ignored on `global`s specified at different levels HOT 2
- Respect `flatten_help` in man pages
- Option to toggle off comma separator in help? HOT 2
- Powershell completions not working with empty help string. HOT 1
- propagate_version is missing from documentation HOT 1
- Consider relaxing the bounds of Send + Sync on TypedValueParser HOT 2
- Extend help subcommand HOT 4
- Don't show global options HOT 4
- `args_conflicts_with_subcommands` is not overriding `subcommand_required = true` HOT 1
- For cli option with custom types, `impl FromStr` with `FromStr::Err` set to `()` won't work HOT 3
- Multi valued flags break collapsing short flags HOT 2
- clap_derive parsing of PathBuf with default_value of empty string still requires it to be specified on command line HOT 2
- (clap_complete) Make `Shell` ValueEnum Parser also Accept $SHELL Output (Path Prefixed Shell Names) HOT 9
- clap_complete: always fail to generate into a tempfile HOT 3
- [Meta] No github release for `v4.5.0` HOT 2
- Why do all issues asking for prefix are closed? HOT 1
- Allow longer shorts HOT 2
- Simplify use of Error with RichFormatter (methods `print` and `exit`) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clap.