fix(cli): make demo mode writable

This commit is contained in:
ajnart committed 2026-08-27 22:41:23 +02:00
1 parent 0553d60a58
commit 411e75e799
1 file changed
+1 -1
+1 -1
View File
@@ -70,7 +70,7 @@ func BuildPlan(opts Options) (*Plan, error) {
} }
p.Env = append(p.Env, opts.Env...) p.Env = append(p.Env, opts.Env...)
if opts.Demo { if opts.Demo {
p.Env = append(p.Env, "DEMO_MODE=true", "UNSAFE_ENABLE_MOCK_INTEGRATION=true") p.Env = append(p.Env, "DEMO_MODE=true", "DEMO_READ_ONLY=false", "UNSAFE_ENABLE_MOCK_INTEGRATION=true")
p.Label += " (demo)" p.Label += " (demo)"
} }
return p, nil return p, nil