clap/examples/multicall_hostname.md
Richard Maw 38b9645bed fix: Windows Multicall support
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.
2021-12-12 22:08:25 +00:00

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