Skip to content

Commit

Permalink
Add useful info messages for each run stage
Browse files Browse the repository at this point in the history
  • Loading branch information
darrell-roberts committed Nov 18, 2024
1 parent d6d21a0 commit 0370f23
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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(),
Expand Down

0 comments on commit 0370f23

Please sign in to comment.