Skip to content

Commit 55faf04

Browse files
docs(contributing): Remove derive API guidance
1 parent 95b94ca commit 55faf04

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

CONTRIBUTING.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
# Adding new commands
2-
For new commands, it is recommended to use clap's [Derive API](https://docs.rs/clap/latest/clap/_derive/index.html).
3-
In contrast to the [Builder API](https://docs.rs/clap/latest/clap/_tutorial/index.html), the Derive API makes it:
4-
- Easier to read, write, and modify commands and arguments.
5-
- Easier to keep argument declaration and reading in sync.
6-
- Easier to reuse shared arguments.
7-
8-
An existing example of how to use the Derive API is the `send-metric` command.
9-
101
# Integration Tests
112

123
Integration tests are written using `trycmd` crate. Consult the docs in case you need to understand how it works https://docs.rs/trycmd/latest/trycmd/.

0 commit comments

Comments
 (0)