From 6b352c31a2b78a5753b4783a6bfe6d3ebae5e6d6 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Sun, 21 Feb 2021 23:35:55 +0300 Subject: [PATCH] chore: print to stdout in make command ... about successfully created directory with structure for migration --- migra-cli/src/commands/make.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/migra-cli/src/commands/make.rs b/migra-cli/src/commands/make.rs index d24f97d..d02cfd7 100644 --- a/migra-cli/src/commands/make.rs +++ b/migra-cli/src/commands/make.rs @@ -41,5 +41,10 @@ pub(crate) fn make_migration(config: Config, opts: MakeCommandOpt) -> StdResult< )?; } + println!( + "Structure for migration has been created in the {}", + migration_dir_path.to_str().unwrap() + ); + Ok(()) }