clap/examples/multicall-hostname.md
Ed Page 03cb509d6c refactor(examples): Change naming style
This is to make room for a reasonable looking cargo plugin example.

I got lazy and didn't update the tutorials.
2021-12-15 11:12:18 -06:00

13 lines
335 B
Markdown

*Jump to [source](multicall-hostname.rs)*
Example of a `hostname-style` multicall program
See the documentation for clap::AppSettings::Multicall for rationale.
This example omits the implementation of displaying address config
```bash
$ hostname
www
```
*Note: without the links setup, we can't demonstrate the multicall behavior*