Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/clap-rs/clap
A full featured, fast Command Line Argument Parser for Rust
https://github.com/clap-rs/clap
Use term_size instead of home-grown solution
Ref: #631
26d5207728115174f39fc995707c70d5591b1929 authored over 8 years agofc7327e9dcf4258ef2baebf0a8714d9c0622855b authored over 8 years ago
* feat: adds App::with_defaults to automatically use crate_authors! and crate_version! macros
...
b7793a2f4d1132f29b3e7858d4ebbb1027f31d39 authored over 8 years agodocs: moves docs to docs.rs
Closes #634
13fe03b0335e799f6e0b1a5af6c381d48556a4ec authored over 8 years agoCloses #634
03209d5e1300906f00bafec1869c2047a92e5071 authored over 8 years agoAdd support for wrapping help at console width on windows
Had to revert many formatting changes...
485d993bfd6e9c268bbfbc96cdfc37a4997e7ca8 authored over 8 years ago85999ea7ad07de30a0cd7dfab64fe130ba2ecaca authored over 8 years ago
Closes #455
0d93d9b9532989b469d8c0ba6cf319fd2d1ddbe1 authored over 8 years ago853a90de0147190773d832513fe879edc04cc6a5 authored over 8 years ago
Fix ArgGroup example not formatted as code
Before:
![before image](https://cloud.githubusercont...
ecfda7d4346911ea486fb18eb666610d20fc1909 authored over 8 years ago
Issue 626
2df109a4281841730040b3e6d0e7f891b947d336 authored over 8 years agof7c787c1ce4bae0716891e3d8cbb9b9f25706bd6 authored over 8 years ago
cdb9037c15adef57038227cd7957b80251aa0491 authored over 8 years ago
Closes #626
d0b442c7beeecac9764406bc3bd171ced0b8825e authored over 8 years agoIssues 625,626
bd704e0d4f27bcd07fcc0fbc3707cdf30e8bc61f authored over 8 years ago57690b2af1f55ceaa3d49393b46f626e77cc66b1 authored over 8 years ago
84ad746ee556af0ae4e5055c4f55c77e2ed478b5 authored over 8 years ago
Closes #626
763a5c920e23efc74d190af0cb8b5dd714b2d67a authored over 8 years ago881a647ee946918187d4b03b702ed81db12dc9e4 authored over 8 years ago
7558261c884e3b893c0b2c0b7ac36621c415660d authored over 8 years ago
00b8205d22639d1b54b9c453c55c785aace52cb2 authored over 8 years ago
Prior to this commit if one wished to use source formatting and ignore
term width they could do ...
chore: update dep
Fixes a panic when Jaro is called with strings each with a length of one. A `...
0bda63a4928d96c68888d1ce0f7256b37d115630 authored over 8 years agoFixes a panic when Jaro is called with strings each with a length of one
bb23284056e9a08fa73ff6a32b994d52d7803ce7 authored over 8 years agoIssue 623
0ca6f851df0879ed50cc268aedc9ae22095152ff authored over 8 years ago8ecb02d0b44a7feed533962f1586ce68050611bb authored over 8 years ago
Closes #623
a643fb283acd9905dc727c4579c5c9fa2ceaa7e7 authored over 8 years agochore: increase version
b4869959c6dd368218c163456bbc1cc3742f32e7 authored over 8 years agofcb049f937b38152eaf9a843eb0676cf9ccd1f71 authored over 8 years ago
feat(YAML): allows using lists or single values with arg declarations
One can now use a list or...
098d7faa2cf1d7f50480684e15002bead0aed843 authored over 8 years ago
One can now use a list or single value for certain Arg YAML declarations
such as possible_values...
Issue 618
37cc3c367f2e63b245ac9720303d10a4742be4a1 authored over 8 years ago565d21f71c213726e6e031533ca2b7c8173a7e87 authored over 8 years ago
7bc1b4b6c77f6fb33563f216e7a5dbe90ac2f04c authored over 8 years ago
9e8e350b95e99d8882e569191f49f3b74354abf8 authored over 8 years ago
For example, doing `myprog help subcmd1 subcmd2` would have incorrectly
produced the usage strin...
bba598931a15f066604baf121899e13c8144bf8c authored over 8 years ago
a983bd9b7e85246f497d8eb86320d9584a6987fd authored over 8 years ago
chore: increase version
8b41e940718331da5326f608ff830158d4f9f87c authored over 8 years ago522d934b1bad072666343483a26d379f534040de authored over 8 years ago
Starkat99 fix subcommand name
3f79467e6b18f68d9516b7681a1fe9cb3178bc7c authored over 8 years ago32dba379d4678ceb9f7a9bef5f7ad0664f4a42b5 authored over 8 years ago
13233d7f2fb1368f7744f5cd9f54c260a0678a71 authored over 8 years ago
Wdv4758h fish completion
merge of #579
7d0d447ddbd8f122c198cb5811b4b0c7d40a37da authored over 8 years agoccdd0571c29e1ee1512108baba24a6c443ecadc8 authored over 8 years ago
BREAKING CHANGE: Access external subcommand arguments using an empty
argument name (i.e. `values...
aebc8fd8285fb600272672cf65244e5011ba77a1 authored over 8 years ago
The following completion would happen (using example 17_yaml.rs):
```
$ prog <tab>
help subcmd
...
docs(YAML): fixes example 17's incorrect reference to arg_groups inst…
…ead of groups
Closes #601
c810becd4fbe949dd0afb51aa1949ca3fef6a4b0 authored over 8 years ago7bf76b889bfe99eeee23696d581f26b53c5e7f5e authored over 8 years ago
66c411a044da1cf7c6d1ec78ce91832db10381f1 authored over 8 years ago
Closes #601
b6c99e1377f918e78c16c8faced70a71607da931 authored over 8 years ago9605ea83aab50113fcd190e9a54adfaae1634072 authored over 8 years ago
Closes #590.
0ceba231c6767cd6d88fdb1feeeea41deadf77ff authored over 8 years agoremoved unstable gate from crate_authors
The cargo feature it depends on has been available sin...
84a08758b26ad989f6b05cb1c4fee8d75caecbf1 authored over 8 years ago3398b64b5a401f76d3ff573dca514ff0d0157149 authored over 8 years ago
05edc4338eccd8c6e6af1fa7f7ca08c35a0296ab authored over 8 years ago
Issues 575,593
8830dc4edf1981cc82afe37816a0dd58e9e4ca07 authored over 8 years ago625cbbca0d92b8756eac6fcacc795d90527d8975 authored over 8 years ago
Closes #575
1fc3b55bd6c8653b02e7c4253749c6b77737d2ac authored over 8 years agoCloses #593
fc72cdf591d30f5d9375d0b5cc2a2ff3e812f9f6 authored over 8 years ago* test: `require_unless_one` with second argument
Add the `require_unless_one_2` test. This t...
1b99091e0a67f307762bed8e11bca6f52195700a authored over 8 years agoadd `gen_completions_to`
to write completions to buffer (e.g. stdout) instead of file. fixes #5...
af4bb4c6d547c669d6865adb9cf32f8da5da3a5b authored over 8 years ago9f62cf7378ba5acb5ce8c5bac89b4aa60c30755f authored over 8 years ago
Fix: typo and missing color
691ef58dfb7d8f0fcdfd12dd09df3a38d9e95d47 authored over 8 years ago8c32b4b63f31607672dee0dc18ebccfa2713b0ec authored over 8 years ago
f8ca3085dab6d53c63b0434b7db0baae7ac0f5f2 authored over 8 years ago
8d7bea823fd537c0d718839b546135248e60e602 authored over 8 years ago
Fix get_matches typo
6398ca435b7cb5b2325901db34e609e411fa057b authored over 8 years agob3cdc3b5c2c6f5745bb548b9845dac45741cdbde authored over 8 years ago
Issue 563
3680ce85e3d17c4d35d1b2cf882242bfcce3e450 authored over 8 years ago4e60b2254dee9ac7e405fbdc7f6b8d4a335fb6b9 authored over 8 years ago
Closes #563
cecfe981ea89a1328e98ff9c9f52104247bcf976 authored over 8 years agoFix the formatting in the completions example
A missing newline prevented the Cargo.toml excerp...
0b4ee665ad3ffc2fc823d24fa52f3526f6fd0794 authored over 8 years ago722f2607beaef56b6a0e433db5fd09492d9f028c authored over 8 years ago
Compl mult bin
11b92170efbf48523ee5048177bd588a3bd563d1 authored over 8 years ago9e9d92a3bd80e495355584ebbb2da3bef68d96dc authored over 8 years ago
Completions are now written `<bin>_<shell>.<ext>` vice the old, `<shell>.<ext>`
57484b2daeaac01c1026e8c84efc8bf099e0eb31 authored over 8 years agoIssue 558
f10375ebe0e9ed18a088f257ab046270c6356681 authored over 8 years agoc9d17392c5a8ab66531baac2b4e36288f71a210e authored over 8 years ago
Issues 556,557
453cff59e153e5e41f431ad24cfe3b8935b0c2aa authored over 8 years agoaa95719ebac5a6b13b5d4c39fbc2f77bf55d9932 authored over 8 years ago
93cbb56f7771bf859b35b53cc87bcef83e554261 authored over 8 years ago
Prior to this fix, using `AppSettings::AllowLeadingHyphen` wouldn't properly ignore `--`
Closes...
96c24c9a8fa1f85e06138d3cdd133e51659e19d2 authored over 8 years agocb251de25ce7ccff74002deda9778715b07b288d authored over 8 years ago
Aliases to subcommands can now be completed just like the original subcommand they alias.
Imagi...
0ab9f84052a8cf65b5551657f46c0c270841e634 authored over 8 years ago9b359bf06255d3dad8f489308044b60a9d1e6a87 authored over 8 years ago
Prior to this change, completions only allowed one completion per command, this change allows as...
18fc2e5b5af63bf54a94b72cec5e1223d49f4806 authored over 8 years ago
Now when one completes an option with possible values, those values will be displayed. Imagine
a...
Issue 376
70fa5f780abd81901444b1d1fc617646eb7d258e authored over 8 years ago7daee9ded0d6343d1eed0aae0d8fa942883d7233 authored over 8 years ago
c6c519e40efd6c4533a9ef5efe8e74fd150391b7 authored over 8 years ago
By using a build.rs "build script" one can now generate a bash completions script which allows t...
e75b6c7b75f729afb9eb1d2a2faf61dca7674634 authored over 8 years agoIssues 546,549
3a000d69d9c93596ee2fe0f80d2acee063fb7879 authored over 8 years agoe5ba93afd33b8fea595e6cb30d61934ae562e3f6 authored over 8 years ago
The functionality can now be found in https://crates.io/crates/term_size
Closes #549
ceddee9157b8af9dd46b8866bcc9963d292c2e92 authored over 8 years agoCloses #546
98a7e8a6367aa89819fb5c6ffbec3567afe2bd1b authored over 8 years ago49af4e38a5dae2ab0a7fc3b4147e2c053d532484 authored over 8 years ago
Using this setting requires a value delimiter be present in order to parse multiple values.
Othe...