mirror of
https://github.com/dtomlinson91/tembo.git
synced 2025-12-22 07:55:45 +00:00
adding latest
This commit is contained in:
@@ -149,7 +149,7 @@ def new(scope, inputs, dry_run, example):
|
|||||||
raise SystemExit(0) from scoped_page_already_exists
|
raise SystemExit(0) from scoped_page_already_exists
|
||||||
if not _name_found and len(tembo.CONFIG.scopes) > 0:
|
if not _name_found and len(tembo.CONFIG.scopes) > 0:
|
||||||
# if the name is missing in the config.yml, raise error
|
# 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 SystemExit(0)
|
||||||
|
|
||||||
# raise error if no config.yml found
|
# raise error if no config.yml found
|
||||||
|
|||||||
Reference in New Issue
Block a user