From 41f007c9a5f3c573b89066c3c86b68b3431dac17 Mon Sep 17 00:00:00 2001 From: Daniel Tomlinson Date: Mon, 1 Nov 2021 14:20:58 +0000 Subject: [PATCH] adding latest --- tembo/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tembo/cli.py b/tembo/cli.py index 0d866e0..fcab713 100644 --- a/tembo/cli.py +++ b/tembo/cli.py @@ -149,7 +149,7 @@ def new(scope, inputs, dry_run, example): raise SystemExit(0) from scoped_page_already_exists if not _name_found and len(tembo.CONFIG.scopes) > 0: # if the name is missing in the config.yml, raise error - tembo.logger.warning("Command %s not found in config.yml - exiting", scope) + click.echo(cli_message(f"Command {scope} not found in config.yml.")) raise SystemExit(0) # raise error if no config.yml found