Initial commit
This commit is contained in:
18
commands/set-mode.md
Normal file
18
commands/set-mode.md
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
name: set-mode
|
||||
description: "Set VIBESAFE_ENV for subsequent Vibesafe commands (dev|prod)."
|
||||
arguments:
|
||||
- name: env
|
||||
description: "Mode to set (dev or prod)"
|
||||
required: true
|
||||
---
|
||||
|
||||
Set the Vibesafe mode for this session by exporting `VIBESAFE_ENV`, then report the new value.
|
||||
|
||||
Steps (run in order):
|
||||
1) `export VIBESAFE_ENV="{{ env }}"`
|
||||
2) `echo "VIBESAFE_ENV=$VIBESAFE_ENV"`
|
||||
|
||||
Examples:
|
||||
- `/vibesafe:set-mode dev`
|
||||
- `/vibesafe:set-mode prod`
|
||||
Reference in New Issue
Block a user