mirror of
https://github.com/clap-rs/clap
synced 2024-12-15 07:12:32 +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).
343 B
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