We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a9a375d + 1f30ed6 commit 776a114Copy full SHA for 776a114
1 file changed
agentstack/cli/cli.py
@@ -46,16 +46,13 @@ def init_project_builder(
46
use_wizard: bool = False,
47
):
48
if not slug_name and not use_wizard:
49
- print(term_color("Project name is required. Use `agentstack init <project_name>`", 'red'))
50
- return
+ raise Exception("Project name is required. Use `agentstack init <project_name>`")
51
52
if slug_name and not is_snake_case(slug_name):
53
- print(term_color("Project name must be snake case", 'red'))
54
+ raise Exception("Project slug name must be snake_case")
55
56
if template is not None and use_wizard:
57
- print(term_color("Template and wizard flags cannot be used together", 'red'))
58
+ raise Exception("Template and wizard flags cannot be used together")
59
60
template_data = None
61
if template is not None:
0 commit comments