/// `link`: the link name including the `[ ]`.
#[clap(long)]
print_config: Option<String>,
+
+ #[clap(long, required(false))]
+ dump_config: bool,
}
type OutstandingRequest<'r> = Pin<Box<
let opts = <Opts as clap::Parser>::parse();
let (ics,) = config::startup("hippotat", LinkEnd::Client,
&opts.config, &opts.log, |ics| {
+ if opts.dump_config {
+ for ic in &ics {
+ println!("{:#?}", ic);
+ }
+ process::exit(0);
+ }
if let Some(arg) = &opts.print_config {
for ic in &ics {
implement_print_config(arg, &|k| Some(match k {