Skip to content

Commit

Permalink
Create bug_report.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pksunkara committed Feb 26, 2021
1 parent ecdc8ed commit d362311
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 67 deletions.
67 changes: 0 additions & 67 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

70 changes: 70 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: Bug report
about: An issue with clap, clap_derive or clap_generate
labels: 'T: bug'
issue_body: false
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 existing 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 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: Example - `cargo run -- options...`
validations:
required: true
- type: textarea
attributes:
label: Actual Behaviour
placeholder: When I do like *this*, *that* is happening and I think it shouldn't.
validations:
required: true
- type: textarea
attributes:
label: Expected Behaviour
placeholder: I think *this* should happen instead.
validations:
required: true
- type: textarea
attributes:
label: Additional Context
placeholder: Add any other context about the problem here.
- type: textarea
attributes:
label: Debug Output
description: |
### Debug output
Compile clap with `debug` feature:
```toml
[dependencies]
clap = { version = "*", features = ["debug"] }
```

0 comments on commit d362311

Please sign in to comment.