mirror of
https://github.com/clap-rs/clap
synced 2024-12-15 07:12:32 +00:00
38b9645bed
The executable suffix is unconditionally stripped off the file path so that the file name matches subcommands names without having to add the EXE suffix on different platforms.
335 B
335 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 demonstrate the multicall behavior