adding latest

This commit is contained in:
2021-11-01 14:20:58 +00:00
parent b184be91bd
commit 41f007c9a5

View File

@@ -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