2021-11-30 12:30:19 -06:00
|
|
|
# Examples
|
2021-11-10 16:15:30 -06:00
|
|
|
|
2021-11-30 12:30:19 -06:00
|
|
|
- Basic demo: [derive](demo.md)
|
2021-12-15 11:12:16 -06:00
|
|
|
- Key-value pair arguments: [derive](keyvalue-derive.md)
|
2021-12-15 11:33:10 -06:00
|
|
|
- Custom cargo command: [builder](cargo-example.md), [derive](cargo-example-derive.md)
|
2021-12-15 11:12:16 -06:00
|
|
|
- git-like interface: [builder](git.md), [derive](git-derive.md)
|
2021-12-11 22:22:09 +09:00
|
|
|
- pacman-like interface: [builder](pacman.md)
|
2021-12-15 11:12:16 -06:00
|
|
|
- Escaped positionals with `--`: [builder](escaped-positional.md), [derive](escaped-positional-derive.md)
|
2021-11-30 12:30:19 -06:00
|
|
|
- Multi-call
|
2021-12-15 11:12:16 -06:00
|
|
|
- busybox: [builder](multicall-busybox.md)
|
|
|
|
- hostname: [builder](multicall-hostname.md)
|
2021-11-10 16:15:30 -06:00
|
|
|
|
|
|
|
## Contributing
|
|
|
|
|
2021-11-30 12:30:19 -06:00
|
|
|
New examples:
|
|
|
|
- Building: They must be added to [Cargo.toml](../../Cargo.toml) with the appropriate `required-features`.
|
|
|
|
- Testing: Ensure there is a markdown file with [trycmd](https://docs.rs/trycmd) syntax
|
|
|
|
- Link the `.md` file from here
|
|
|
|
|
|
|
|
See also the general [CONTRIBUTING](../../CONTRIBUTING.md).
|