From 0370f23ae3d2018a505af69700e922f36e27aee9 Mon Sep 17 00:00:00 2001 From: Darrell Roberts Date: Mon, 18 Nov 2024 15:17:52 -0500 Subject: [PATCH] Add useful info messages for each run stage --- cli/src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cli/src/main.rs b/cli/src/main.rs index 22da4020..85a77ef2 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -73,6 +73,8 @@ fn main() -> anyhow::Result<()> { let directories = options.directories.as_slice(); + info!("Using directories: {directories:?}"); + let language_type = match options.language { None => panic!("no language specified; `clap` should have guaranteed its presence"), Some(language) => match language { @@ -160,6 +162,8 @@ fn main() -> anyhow::Result<()> { check_parse_errors(&crate_parsed_data)?; + info!("typeshare started writing generated types"); + write_generated( destination, lang.as_mut(),