We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e49b91 commit c415820Copy full SHA for c415820
1 file changed
start.sh
@@ -11,7 +11,21 @@ else
11
source .venv/bin/activate
12
fi
13
14
-# Run the Terminal UI demo
15
-echo "Starting Echoes of Emergence Terminal UI..."
16
-# python scripts/demo_terminal_ui.py "$@"
17
-uv run echoes-shell "$@"
+# Parse for --ui flag
+run_ui_demo=false
+args=()
+for arg in "$@"; do
18
+ if [[ "$arg" == "--ui" ]]; then
19
+ run_ui_demo=true
20
+ else
21
+ args+=("$arg")
22
+ fi
23
+done
24
+
25
+if [ "$run_ui_demo" = true ]; then
26
+ echo "Starting Echoes of Emergence Terminal UI..."
27
+ uv run python scripts/demo_terminal_ui.py "${args[@]}"
28
+else
29
+ echo "Starting Echoes of Emergence CLI shell..."
30
+ uv run echoes-shell "${args[@]}"
31
+fi
0 commit comments