diff --git a/tembo/cli.py b/tembo/cli.py index 361243d..8b8d9af 100644 --- a/tembo/cli.py +++ b/tembo/cli.py @@ -114,7 +114,7 @@ def new(scope, inputs, dry_run, example): ) if _name_found: try: - scoped_page = pages.ScopedPageCreator().create_page(page_creator_options) + scoped_page = pages.ScopedPageCreator(page_creator_options).create_page() except exceptions.BasePathDoesNotExistError as base_path_does_not_exist_error: tembo.logger.critical(base_path_does_not_exist_error) raise SystemExit(1) from base_path_does_not_exist_error