mirror of
https://github.com/clap-rs/clap
synced 2025-01-23 01:45:00 +00:00
03cb509d6c
This is to make room for a reasonable looking cargo plugin example. I got lazy and didn't update the tutorials.
13 lines
335 B
Markdown
13 lines
335 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
|
|
$ hostname
|
|
www
|
|
```
|
|
*Note: without the links setup, we can't demonstrate the multicall behavior*
|