clap/examples/multicall_hostname.md

14 lines
335 B
Markdown
Raw Normal View History

*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
```
2021-12-11 17:18:03 +00:00
*Note: without the links setup, we can't demonstrate the multicall behavior*