clap/examples/multicall_hostname.md
Ed Page befee6667b docs: Re-work examples
This creates distinct tutorial examples from complex feature examples
(more how-tos).  Both sets are getting builder / derive versions (at
least the critical ones).
2021-11-30 21:33:52 -06:00

13 lines
343 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,ignore
$ hostname
www
```
*Note: without the links setup, we can't demonostrate the multicall behavior*