mirror of
https://github.com/dtomlinson91/tembo.git
synced 2025-12-22 10:16:02 +00:00
adding latest
This commit is contained in:
@@ -149,13 +149,12 @@ def _new_get_config_scope(scope: str) -> dict:
|
||||
|
||||
def _new_show_example(example: bool, config_scope: dict) -> None:
|
||||
if example:
|
||||
tembo.cli.logger.info(
|
||||
"Example for 'tembo new %s': %s",
|
||||
config_scope["name"],
|
||||
config_scope["example"]
|
||||
if isinstance(config_scope["example"], str)
|
||||
else "No example in config.yml",
|
||||
)
|
||||
if isinstance(config_scope["example"], str):
|
||||
cli_message(
|
||||
f'Example for {config_scope["name"]}: {config_scope["example"]}'
|
||||
)
|
||||
else:
|
||||
cli_message("No example in config.yml")
|
||||
raise SystemExit(0)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user