Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
6529 commits
Select commit Hold shift + click to select a range
f33ff7f
docs: Update changelog
epage Apr 18, 2025
f209bce
chore: Release
epage Apr 18, 2025
f88be57
style: Ensure consistent newlines
epage Apr 21, 2025
2f6a108
test(complete): Demonstrate current behavior
mernen Apr 28, 2025
fd3f6d2
fix(complete): Restore nospace in bash
mernen Apr 27, 2025
54947a1
Merge pull request #5981 from mernen/fix-bash-clap-complete-space
epage Apr 28, 2025
4460ff4
docs: Update changelog
epage Apr 28, 2025
c3a1ddc
chore: Release
epage Apr 28, 2025
97755b3
chore(ci): Improve perf at the cost of coverage
epage May 1, 2025
74072ba
chore(deps): Update compatible (dev) (#5983)
renovate[bot] May 1, 2025
d522921
test(complete): Demonstrate current behavior
mernen May 4, 2025
e426f4e
fix(complete): Improve handling of current word in Bash
mernen May 5, 2025
5b2e960
Merge pull request #5985 from mernen/bash-cur
epage May 5, 2025
d5c7454
docs: Update changelog
epage May 5, 2025
6abe2f8
chore: Release
epage May 5, 2025
4d9d210
test(complete): Illustrate current behavior in Bash
mernen May 5, 2025
2f66432
fix(complete): Only parse arguments before current
mernen May 5, 2025
5ab2579
fix: Minor fix for builder docs about version
cordx56 May 6, 2025
e03cc2e
Merge pull request #5988 from cordx56/fix-builder-custom-version-docs
epage May 6, 2025
e69a2ea
Merge pull request #5987 from mernen/fix-bash-comp-words-loop
epage May 6, 2025
7c2b8d9
docs: Update changelog
epage May 6, 2025
d8acd47
chore: Release
epage May 6, 2025
d1a5627
chore: Update RenovateBot
epage May 7, 2025
8c5c6ad
chore: Fix regex for renovatebot
epage May 7, 2025
b8f5d53
docs: Improve starting point for builder reference
epage May 7, 2025
634ef20
Merge pull request #5992 from epage/docs
epage May 8, 2025
487aec3
feat(help): Prefix argument aliases in output with `--`
cenviity May 10, 2025
da2cc8d
feat(help): Prefix argument short aliases in output with `-`
cenviity May 10, 2025
7f9aead
Merge pull request #5996 from cenviity/push-kynozmuuzzuy
epage May 11, 2025
8dd92a7
docs: Update changelog
epage May 11, 2025
6b12a81
chore: Release
epage May 11, 2025
7a38f0d
test(complete): Illustrate current behavior in zsh
mernen May 11, 2025
a4fb210
fix(complete): Properly pass array as arguments
mernen May 11, 2025
e01f2b7
docs: Cleanup unused links
epage May 16, 2025
e2188d9
chore(deps): Update Rust Stable to v1.87 (#6004)
renovate[bot] May 16, 2025
cf166e3
chore(pre-commit): Update default stages
epage May 20, 2025
a7bfa22
chore(pre-commit): Use default stages
epage May 20, 2025
65fdcf6
chore(pre-commit): Update hooks
epage May 20, 2025
7a72bd0
chore(pre-commit): Ensure commit-msg hook is installed
epage May 20, 2025
ed0c63d
docs(derive): Specify arg_required_else_help is set for users
epage May 23, 2025
bd01bdc
Merge pull request #6012 from epage/sub
epage May 23, 2025
6d0bfa0
feat(help): Show short aliases before long ones
cenviity May 11, 2025
c758212
feat(help): Merge lists of short and long aliases
cenviity May 11, 2025
21fc9e4
feat(clap-complete): Introduce fallible generator
gtema May 22, 2025
5e85d68
chore: Strip benches on publish
epage May 27, 2025
3398b6a
Merge pull request #6009 from gtema/complete_try_generate
epage May 27, 2025
d37b0b5
docs: Update changelog
epage May 27, 2025
b49dae2
chore: Release
epage May 27, 2025
493a71a
Merge pull request #5999 from cenviity/push-tqqzyttsoktu
epage May 27, 2025
c17d25f
docs: Update changelog
epage May 27, 2025
2826eed
chore(nushell): Require newer clap_complete
epage May 27, 2025
8520a7a
chore: Release
epage May 27, 2025
3c527af
chore: Update transitive clap
epage May 27, 2025
951536e
chore: Release
epage May 27, 2025
a3c6230
Merge pull request #6000 from mernen/fix-zsh-dynamic-completion
epage May 30, 2025
a88013a
docs: Update changelog
epage May 30, 2025
783b291
chore: Release
epage May 30, 2025
8441ae0
chore: Symlink all the licenses
pksunkara May 30, 2025
4099a33
Merge pull request #6020 from clap-rs/pavan/tspxmqoqosvy
epage May 30, 2025
25eb6fb
chore(deps): Update compatible (dev) (#6021)
renovate[bot] Jun 2, 2025
f9842b3
chore: Avoid MSRV problems out of the box
epage Jun 2, 2025
b8a7ea4
chore(deps): Update Rust Stable to v1.87 (#18)
renovate[bot] Jun 2, 2025
4d7ab14
chore: Update from _rust/main template
epage Jun 2, 2025
a380b65
Merge pull request #6023 from epage/template
epage Jun 2, 2025
6acb890
chore(deps): Update Rust crate automod to v1.0.15 (#27)
renovate[bot] Jun 2, 2025
271edc6
chore: Add zlib license
epage Jun 3, 2025
2e6c89e
chore: Add license for unicode-ident for proc-macro2
epage Jun 5, 2025
2fcafc0
docs: Fix minor grammar issues in FAQ
AldaronLau Jun 5, 2025
1036060
Merge pull request #6025 from AldaronLau/typos-in-faq
epage Jun 5, 2025
b9c0aee
Feat: Add external subcommands test to suite
Alpha1337k Jun 9, 2025
e2aa2f0
Feat: Add catch-all on external subcommands for zsh
Alpha1337k Jun 9, 2025
cb8255d
feat(builder): Allow quoted id's for arg macro
epage Jun 9, 2025
d117f7a
Merge pull request #6028 from epage/arg
epage Jun 9, 2025
613b69a
docs: Update changelog
epage Jun 9, 2025
3716f9f
chore: Release
epage Jun 9, 2025
0f59d55
Merge pull request #6027 from Alpha1337k/master
epage Jun 9, 2025
44838f6
docs: Update changelog
epage Jun 9, 2025
194c676
chore: Release
epage Jun 9, 2025
5e48e02
Chore: document several internal assertion helper methods
joshka Jun 19, 2025
b69d0ee
Merge pull request #6038 from joshka/jm/doc-assertions
epage Jun 19, 2025
daae02a
Fix intra-doc link warning
GuillaumeGomez Jun 25, 2025
d9bbf03
Remove unneeded `--cfg docsrs` from `Cargo.toml` file when building o…
GuillaumeGomez Jun 25, 2025
18b1620
Merge pull request #6045 from GuillaumeGomez/cleanup-docsrs
pksunkara Jun 25, 2025
fdb7abb
Add missing `--generate-link-to-definition` docs.rs options
GuillaumeGomez Jun 25, 2025
c3f05a8
Merge pull request #6046 from GuillaumeGomez/generate-link-to-def
pksunkara Jun 25, 2025
c1c243c
Revert "Cleanup docs.rs related issues"
epage Jun 26, 2025
5504a13
Merge pull request #6047 from clap-rs/revert-6045-cleanup-docsrs
epage Jun 26, 2025
12af6b5
chore(docsrs): Remove redundant --cfg
epage Jun 26, 2025
de57287
chore(deps): Update Rust Stable to v1.88 (#6048)
renovate[bot] Jun 26, 2025
f5d270b
chore(deps): Update Rust Stable to v1.88 (#28)
renovate[bot] Jun 26, 2025
0e535e5
chore(deps): Update compatible (dev) (#6054)
renovate[bot] Jul 8, 2025
df92ea0
feat(help): Allow styling for inline context
GilShoshan94 Jul 1, 2025
b13274d
fix: Rename `pvs` to `dvs` for default values
GilShoshan94 Jul 3, 2025
83d4206
test: Update fixture to cover all cases + styling
GilShoshan94 Jul 3, 2025
0f60239
Merge pull request #6057 from GilShoshan94/master
epage Jul 9, 2025
fb948a2
docs: Update changelog
epage Jul 9, 2025
4c03930
chore: Release
epage Jul 9, 2025
1ffb9a8
test(clap_mangen): Test rendering optional values
Jul 22, 2025
f4ba05b
fix(clap_mangen): Render optional and multiple values
Jul 22, 2025
c04bd0d
Merge pull request #6074 from ericgumba/issue_3358
epage Jul 29, 2025
d5e0f60
docs: Update changelog
epage Jul 29, 2025
7f16452
chore: Release
epage Jul 29, 2025
4f9f007
test(help): Add cases for subcommand aliases
GilShoshan94 Jul 14, 2025
debaa30
fix(help): Visible long flag aliases in help and tests
GilShoshan94 Jul 14, 2025
d527522
Merge pull request #6068 from GilShoshan94/master
epage Jul 30, 2025
e355f4b
docs: Update changelog
epage Jul 30, 2025
583ba4a
chore: Release
epage Jul 30, 2025
92da9cb
docs: Updated README to get started easily
Aug 1, 2025
4c6fd93
Merge pull request #6085 from JiaBao-do/update-readme
epage Aug 5, 2025
883b9f9
refactor(help): Visually group logic
epage Aug 6, 2025
594a771
refactor(help): Make empty tracking more consistent
epage Aug 6, 2025
e5eb6c9
fix(help): Integrate 'Possible Values:' into 'Arg::help'
epage Aug 6, 2025
220875b
Merge pull request #6091 from epage/possible
epage Aug 6, 2025
2bd8ab3
docs: Update changelog
epage Aug 6, 2025
520beb5
chore: Release
epage Aug 6, 2025
5fb0a8e
chore(deps): Update Rust Stable to v1.89 (#29)
renovate[bot] Aug 7, 2025
09969d3
chore(deps): Update Rust Stable to v1.89 (#6093)
renovate[bot] Aug 7, 2025
60184fb
feat(complete): Expand ~ in native completions
epage Aug 7, 2025
c7848ff
Merge pull request #6094 from epage/home
epage Aug 7, 2025
00e72e0
docs: Update changelog
epage Aug 7, 2025
9cec100
chore: Release
epage Aug 7, 2025
11eea41
test(help): Show next_line_help behavior
epage Aug 7, 2025
0096ace
Merge pull request #6095 from epage/next_line_help
epage Aug 7, 2025
c10231d
test(derive): Rely on snapshot testing
epage Aug 11, 2025
ccde9f7
Merge pull request #6102 from epage/snap
epage Aug 11, 2025
5335f54
feat: Add Command::mut_subcommands
epage Aug 11, 2025
a42eebf
Merge pull request #6103 from epage/mut_subcommands
epage Aug 11, 2025
10a2a75
docs: Update changelog
epage Aug 11, 2025
58eb8a9
chore: Release
epage Aug 11, 2025
f89b9b8
test(derive): Make stable across upgrade
epage Aug 11, 2025
77b3fdb
test(complete): Show dot file behavior
epage Aug 11, 2025
9d7f212
fix(complete): Hide dot files on dynamic completer
epage Aug 11, 2025
c109d67
Merge pull request #6104 from epage/hide
epage Aug 11, 2025
8206bba
docs: Update changelog
epage Aug 11, 2025
69c0ddb
chore: Release
epage Aug 11, 2025
d55eac7
test(derive): Fork possible values help test
smoqadam Aug 12, 2025
a8b8289
fix(derive): Use full doc comment for PossibleValue
smoqadam Aug 12, 2025
9fd06f2
Merge pull request #6101 from smoqadam/fix/value-enum-detailed-help
epage Aug 12, 2025
fb789e7
docs: Update changelog
epage Aug 12, 2025
cda1b85
chore: Release
epage Aug 12, 2025
a6942ae
docs: Switch links to https
epage Aug 19, 2025
2b0a847
feat: mark `StyledStr::push_str` functions public
eatradish Aug 25, 2025
07dc561
Merge pull request #6111 from eatradish/public-styledstr-method
epage Aug 26, 2025
889a197
docs: Update changelog
epage Aug 26, 2025
f9fd356
chore: Release
epage Aug 26, 2025
0bb71a0
docs: add `clap-i18n-richformatter` to Related Projects
eatradish Aug 29, 2025
d045daa
Merge pull request #6116 from eatradish/clap-i18n-richformatter
epage Aug 29, 2025
92fd6e7
fix(derive): Match rustc's error style
epage Sep 2, 2025
395d657
feat: provide empty implementations for Args and Subcommand
alexkazik Aug 30, 2025
0ad7787
Merge pull request #6120 from epage/error
epage Sep 2, 2025
f1d9120
Merge pull request #6119 from alexkazik/empty-impl
epage Sep 2, 2025
4457eb9
docs: Update changelog
epage Sep 2, 2025
f8b9e24
chore: Release
epage Sep 2, 2025
b827661
docs(complete): Simplify sourcing fish completions
AudaciousAxiom Sep 6, 2025
2c04acd
Merge pull request #6121 from AudaciousAxiom/docs/complete-simplify-f…
epage Sep 8, 2025
a17a3b6
docs(builder): Add relevant context for mut-ref operations
epage Sep 9, 2025
c803d16
docs(derive): Clarify value_parser! is only a default
epage Sep 9, 2025
7566762
Merge pull request #6125 from epage/docs
epage Sep 9, 2025
addd871
chore(ci): Reduce cached content
epage Sep 10, 2025
40eb73c
docs(cookbook): Sub-divide type handling
epage Sep 11, 2025
b043ed3
refactor(cookbook): Prep for splitting typed-derive
epage Sep 11, 2025
29b946f
docs(cookbook): Split up value parsers into sections
epage Sep 11, 2025
926bafe
docs(cookbook): Hint at overriding value_name
epage Sep 11, 2025
8f8e861
docs(cookbook): Add local enum to typed-derive
epage Sep 11, 2025
9fd4dc9
docs(cookbook): Provide a custom TypedValueParser
epage Sep 11, 2025
3cbce42
docs(cookbook): Make typed-derive easier to maintain
epage Sep 11, 2025
281f8ae
Merge pull request #6126 from epage/p
epage Sep 11, 2025
5afd573
chore(ci): Fix env variable syntax
epage Sep 12, 2025
4a86fee
test(complete): Illustrate current behavior
mernen Sep 13, 2025
8aaf704
fix(complete): Do not suggest options after "--"
mernen Sep 13, 2025
b256739
Merge pull request #6131 from mernen/do-not-suggest-opts-after-escape
epage Sep 16, 2025
fe2d731
docs: Update changelog
epage Sep 16, 2025
88f13cb
chore: Release
epage Sep 16, 2025
f1804bd
fix(clap_complete): Typo in changelog
cakebaker Sep 16, 2025
79bc1f9
Merge pull request #6132 from cakebaker/patch-1
epage Sep 16, 2025
3bfcdc2
chore: Add license for libfuzzer
epage Sep 18, 2025
676066a
chore(deps): Update Rust Stable to v1.90 (#30)
renovate[bot] Sep 18, 2025
14e7d8d
chore(deps): Update Rust Stable to v1.90 (#6133)
renovate[bot] Sep 18, 2025
c355d8e
chore(gh): Ensure triage labels are applied
epage Sep 19, 2025
afea148
chore(ci): Make jobs blocking that were overlooked
epage Sep 19, 2025
d65a752
test: Fix for 1.90
epage Sep 19, 2025
9d36f24
docs(concepts): Introduce a concept-focused document for clap
epage Sep 19, 2025
250a3f1
docs(builder): Explain dont_delimit_trailing_values
epage Sep 19, 2025
03f80de
Merge pull request #6136 from epage/delimit
epage Sep 19, 2025
1d6ca6a
Merge pull request #6137 from epage/docs
epage Sep 19, 2025
0b7b878
docs: Update changelog
epage Sep 19, 2025
8e3d036
chore: Release
epage Sep 19, 2025
dace4cb
docs(concepts): Be consistent in casing
epage Sep 20, 2025
f6c3a56
docs(concepts): Speak to Value Parsing
epage Sep 20, 2025
fc1379a
docs(concepts): Fix links
epage Sep 20, 2025
a2860be
Merge pull request #6138 from epage/concepts
epage Sep 20, 2025
f218f4a
docs(docsrs): Update to new doc_cfg feature name
epage Sep 29, 2025
c236198
chore: Update from _rust template
epage Sep 29, 2025
037e7e9
Merge pull request #6144 from epage/template
epage Sep 30, 2025
58599fb
chore(deps): Update actions/checkout action to v5
renovate[bot] Oct 1, 2025
c9a39a5
Merge pull request #6146 from clap-rs/renovate/actions-checkout-5.x
epage Oct 1, 2025
03b9b38
test(help): Show styled wrapping behavior
epage Oct 13, 2025
b1c46e6
refactor(help): Clarify var name
epage Oct 13, 2025
93e3559
refactor(help): Clarify that we're carrying over indentation
epage Oct 13, 2025
2cc4e35
test(ui): Avoid override term width
epage Oct 13, 2025
dd17a41
fix(help): Correctly calculate wrap points with ANSI escape codes
epage Oct 13, 2025
245c8ba
Merge pull request #6149 from epage/wrap
epage Oct 13, 2025
5cb5ce3
docs: Update changelog
epage Oct 13, 2025
0bb3ad7
chore: Release
epage Oct 13, 2025
55fafb4
feat(api): impl From<Cow<'static, str>> for Id,OsStr, Str
germangarces Oct 16, 2025
a69fe7c
Merge pull request #6154 from germangarces/impl-from-cow
epage Oct 20, 2025
d8abc4e
docs: Update changelog
epage Oct 20, 2025
c7c761f
chore: Release
epage Oct 20, 2025
ef3f77d
test(clap_mangen): Test mangen display order
thomas-zahner Oct 15, 2025
24dfa0d
fix(clap_mangen): Take into consideration display_order
thomas-zahner Oct 11, 2025
419244b
Merge pull request #6142 from thomas-zahner/respect-display-order
epage Oct 22, 2025
af7f7d6
docs: Update changelog
epage Oct 22, 2025
df7bdfc
chore: Release
epage Oct 22, 2025
c9898d0
test(help): Verify short with value
epage Oct 29, 2025
9e3c05e
test(help): Show panic with short, valueless arg
epage Oct 29, 2025
126440c
fix(help): Correctly calculate padding for short-only args
epage Oct 29, 2025
9d218eb
Merge pull request #6165 from epage/shirt
epage Oct 29, 2025
f18b67e
docs: Update changelog
epage Oct 29, 2025
d89d57d
chore: Release
epage Oct 29, 2025
009bba4
fix(clap_complete): Improve powershell registration
fabalchemy Oct 29, 2025
b7adce5
Merge pull request #6166 from fabalchemy/fix-dynamic-powershell-compl…
epage Oct 29, 2025
9332409
docs: Update changelog
epage Oct 29, 2025
33d24d8
chore: Release
epage Oct 29, 2025
bc38aa1
test(complete): Nushell positional arguments test
nitsky Oct 30, 2025
83cbb5b
fix(complete): Nushell order positional arguments
nitsky Oct 30, 2025
6a64a8b
Merge pull request #6167 from nitsky/feat/nushell-completion-argument…
epage Oct 31, 2025
9f7d789
docs: Update changelog
epage Oct 31, 2025
bb886ac
chore: Release
epage Oct 31, 2025
667ead6
style: Make clippy happy
epage Oct 31, 2025
a89f3e6
docs: Fix link
epage Oct 31, 2025
cd1a206
Merge pull request #6170 from epage/stable
epage Oct 31, 2025
8d14ff1
chore(deps): Update Rust Stable to v1.91 (#6169)
renovate[bot] Oct 31, 2025
e73c5c5
chore(deps): Update actions/setup-python action to v6
renovate[bot] Nov 1, 2025
913cbb1
Merge pull request #6172 from clap-rs/renovate/actions-setup-python-6.x
epage Nov 1, 2025
6636736
docs(group): Be more direct in description
epage Nov 3, 2025
1b6bf1b
docs(group): Cross-link ArgGroup to help heading
epage Nov 3, 2025
c32c382
docs(arg): Improve the help_heading docs
epage Nov 3, 2025
cb49eba
Merge pull request #6177 from epage/heading
epage Nov 3, 2025
20938a8
docs(complete): Render shell headings in bold
jgreitemann Nov 9, 2025
e495ab1
docs(complete): Fix sourcing completions for pwsh
jgreitemann Nov 9, 2025
bb0b2f1
Merge pull request #6181 from jgreitemann/jg/kqvvzuzuzywv
epage Nov 10, 2025
dcc2846
test(parser): Show panic
epage Nov 17, 2025
1823cef
fix(parser): Don't panic when subcommands conflict with groups
epage Nov 17, 2025
dd7cafe
Merge pull request #6184 from epage/conflict
epage Nov 17, 2025
558e374
docs: Update changelog
epage Nov 17, 2025
e82e1ed
chore: Release
epage Nov 17, 2025
c2ced1a
feat: Add default_values_if and default_values_ifs to match default_v…
cooronx Nov 19, 2025
596e98c
Merge pull request #6129 from cooronx/feat_default_values_if_and_defa…
epage Nov 19, 2025
fe99e5a
docs: Update changelog
epage Nov 19, 2025
8d87e70
chore: Release
epage Nov 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 0 additions & 17 deletions .appveyor.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[resolver]
incompatible-rust-versions = "fallback"
12 changes: 12 additions & 0 deletions .clippy.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
allow-print-in-tests = true
allow-expect-in-tests = true
allow-unwrap-in-tests = true
allow-dbg-in-tests = true
disallowed-methods = [
{ path = "std::option::Option::map_or", reason = "prefer `map(..).unwrap_or(..)` for legibility" },
{ path = "std::option::Option::map_or_else", reason = "prefer `map(..).unwrap_or_else(..)` for legibility" },
{ path = "std::result::Result::map_or", reason = "prefer `map(..).unwrap_or(..)` for legibility" },
{ path = "std::result::Result::map_or_else", reason = "prefer `map(..).unwrap_or_else(..)` for legibility" },
{ path = "std::iter::Iterator::for_each", reason = "prefer `for` for side-effects" },
{ path = "std::iter::Iterator::try_for_each", reason = "prefer `for` for side-effects" },
]
13 changes: 0 additions & 13 deletions .clog.toml

This file was deleted.

115 changes: 0 additions & 115 deletions .github/CONTRIBUTING.md

This file was deleted.

2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github: clap-rs
open_collective: clap
33 changes: 0 additions & 33 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

66 changes: 66 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Bug report
description: An issue with clap, clap_complete, clap_derive, or clap_mangen
labels: ["C-bug", "S-triage"]
body:
- type: checkboxes
attributes:
label: Please complete the following tasks
options:
- label: I have searched the [discussions](https://github.com/clap-rs/clap/discussions)
required: true
- label: I have searched the [open](https://github.com/clap-rs/clap/issues) and [rejected](https://github.com/clap-rs/clap/issues?q=is%3Aissue+label%3AS-wont-fix+is%3Aclosed) issues
required: true
- type: input
attributes:
label: Rust Version
description: Output of `rustc -V`
validations:
required: true
- type: input
attributes:
label: Clap Version
description: Can be found in Cargo.lock or Cargo.toml of your project (i.e. `grep -C1 clap Cargo.lock`). PLEASE DO NOT PUT "latest" HERE, use precise version. Put `master` (or other branch) if you're using the repo directly.
validations:
required: true
- type: textarea
attributes:
label: Minimal reproducible code
description: Please write a minimal complete program which has this bug. Do not point to an existing repository.
value: |
```rust
fn main() {}
```
validations:
required: true
- type: textarea
attributes:
label: Steps to reproduce the bug with the above code
description: A command like `cargo run -- options...` or multiple commands.
validations:
required: true
- type: textarea
attributes:
label: Actual Behaviour
description: When I do like *this*, *that* is happening and I think it shouldn't.
validations:
required: true
- type: textarea
attributes:
label: Expected Behaviour
description: I think *this* should happen instead.
validations:
required: true
- type: textarea
attributes:
label: Additional Context
description: Add any other context about the problem here.
- type: textarea
attributes:
label: Debug Output
description: |
Compile clap with `debug` feature:

```toml
[dependencies]
clap = { version = "*", features = ["debug"] }
```
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: Ask a question
about: For support or brainstorming
url: https://github.com/clap-rs/clap/discussions/new
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Feature request
description: Suggest an idea for this project
labels: ["C-enhancement", "S-triage"]
body:
- type: checkboxes
attributes:
label: Please complete the following tasks
options:
- label: I have searched the [discussions](https://github.com/clap-rs/clap/discussions)
required: true
- label: I have searched the [open](https://github.com/clap-rs/clap/issues) and [rejected](https://github.com/clap-rs/clap/issues?q=is%3Aissue+label%3AS-wont-fix+is%3Aclosed) issues
required: true
- type: input
attributes:
label: Clap Version
description: Can be found in Cargo.lock or Cargo.toml of your project (i.e. `grep clap Cargo.lock`). PLEASE DO NOT PUT "latest" HERE, use precise version. Put `master` (or other branch) if you're using the repo directly.
validations:
required: true
- type: textarea
attributes:
label: Describe your use case
description: Describe the problem you're trying to solve. This is not mandatory and we *do* consider features without a specific use case, but real problems have priority.
validations:
required: true
- type: textarea
attributes:
label: Describe the solution you'd like
description: Please explain what the wanted solution should look like. You are **strongly encouraged** to attach a snippet of (pseudo)code.
validations:
required: true
- type: textarea
attributes:
label: Alternatives, if applicable
description: A clear and concise description of any alternative solutions or features you've managed to come up with.
- type: textarea
attributes:
label: Additional Context
description: Add any other context about the feature request here.
9 changes: 9 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!--
Thanks for helping out!

Please link the appropriate issue from your PR.

If you don't have an issue, we'd recommend starting with one first so the PR can focus on the
implementation (unless its an obvious bug or documentation fix that will have
little conversation).
-->
Loading