clap/examples/multicall-hostname.md

15 lines
337 B
Markdown
Raw Normal View History

*Jump to [source](multicall-hostname.rs)*
Example of a `hostname-style` multicall program
2022-02-12 03:48:29 +00:00
See the documentation for `clap::Command::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*