Help text generated by `clap` contains the full file name (including extension) of the binary. On Unix-like systems, binaries commonly do not have any file extension. On Windows, ".exe" is common. To allow testing such output, introduce a new marker "[EXE]" that is substituted accordingly. The idea and syntax is taken from https://docs.rs/trycmd/1.0.0/trycmd/#toml |
||
|---|---|---|
| .. | ||
| examples | ||
| src | ||
| tests | ||
| Cargo.toml | ||
| build.rs | ||