summaryrefslogtreecommitdiffstats
path: root/vendor/clap/examples/multicall-hostname.md
blob: 9e17ca16cbc75e0416e64f9cc1ffc12ae61c7cef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
*Jump to [source](multicall-hostname.rs)*

Example of a `hostname-style` multicall program

See the documentation for `clap::Command::multicall` for rationale.

This example omits the implementation of displaying address config

```console
$ hostname
www

```
*Note: without the links setup, we can't demonstrate the multicall behavior*