2021-11-30 18:30:19 +00:00
|
|
|
# Examples
|
2021-11-10 22:15:30 +00:00
|
|
|
|
2021-11-30 18:30:19 +00:00
|
|
|
- Basic demo: [derive](demo.md)
|
2021-12-08 01:01:55 +00:00
|
|
|
- Key-value pair arguments: [derive](keyvalue_derive.md)
|
2021-11-30 18:30:19 +00:00
|
|
|
- git-like interface: [builder](git.md), [derive](git_derive.md)
|
|
|
|
- pacman-like interface: [builder](git.md)
|
|
|
|
- Escaped positionals with `--`: [builder](escaped_positional.md), [derive](escaped_positional_derive.md)
|
|
|
|
- Multi-call
|
|
|
|
- busybox: [builder](multicall_busybox.md)
|
|
|
|
- hostname: [builder](multicall_hostname.md)
|
2021-11-10 22:15:30 +00:00
|
|
|
|
|
|
|
## Contributing
|
|
|
|
|
2021-11-30 18:30:19 +00: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).
|