These are chat archives for kbknapp/clap-rs

8th
Jul 2018
Valentin Brandl
@vbrandl
Jul 08 2018 18:54
is it possible to require a parameter only if another parameter is set and vice versa? i'm implementing a server that speaks http by default but i'd like to implement the cli args, that if --key and --cert are set, the server listens via https and also fail if only one of the parameters is set
(using the macro syntax would be a great addition)