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