mirror of
https://github.com/clap-rs/clap
synced 2024-12-15 15:22:30 +00:00
befee6667b
This creates distinct tutorial examples from complex feature examples (more how-tos). Both sets are getting builder / derive versions (at least the critical ones).
13 lines
343 B
Markdown
13 lines
343 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,ignore
|
|
$ hostname
|
|
www
|
|
```
|
|
*Note: without the links setup, we can't demonostrate the multicall behavior*
|