clap/examples/multicall_hostname.md
Ed Page befee6667b docs: Re-work examples
This creates distinct tutorial examples from complex feature examples
(more how-tos).  Both sets are getting builder / derive versions (at
least the critical ones).
2021-11-30 21:33:52 -06:00

343 B

Jump to source

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

$ hostname
www

Note: without the links setup, we can't demonostrate the multicall behavior