diff --git a/agentstack/cli/cli.py b/agentstack/cli/cli.py index 0c085d5..77b887a 100644 --- a/agentstack/cli/cli.py +++ b/agentstack/cli/cli.py @@ -46,15 +46,15 @@ def init_project_builder( ): if not slug_name and not use_wizard: print(term_color("Project name is required. Use `agentstack init `", 'red')) - return + sys.exit(1) if slug_name and not is_snake_case(slug_name): print(term_color("Project name must be snake case", 'red')) - return + sys.exit(1) if template is not None and use_wizard: print(term_color("Template and wizard flags cannot be used together", 'red')) - return + sys.exit(1) template_data = None if template is not None: