clap/examples/multicall-hostname.md

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