Skip to content

Commit fcadd85

Browse files
committed
Show real default status spec in edit-status GIF, swap local spec for status demo
1 parent afcda50 commit fcadd85

12 files changed

Lines changed: 16 additions & 3 deletions

File tree

demo-setup.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,13 @@ add_local_change "bold-creek" "api"
100100
add_local_change "bold-creek" "docs"
101101
add_local_change "swift-pine" "app"
102102

103-
# --- Create a status spec that works with local repos ---
104-
# Uses git diff against origin to detect local changes (no gh needed).
103+
# --- Create status specs ---
104+
# The default spec (written by EnsureDirs on first flow command) uses gh + jq.
105+
# For the demo, we keep the default for the edit-status tape (so it shows the
106+
# real commands), then the status tape swaps in a local-only spec before running.
105107

106-
cat > "$FLOW_HOME/status.yaml" <<YAML
108+
# Write a local-only spec that the status tape will swap in (no gh needed).
109+
cat > "$FLOW_HOME/status-local.yaml" <<YAML
107110
apiVersion: flow/v1
108111
kind: Status
109112
spec:

demo.tape

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ Type `export EDITOR="vim -u NONE"`
2828
Enter
2929
Sleep 200ms
3030

31+
# Swap in local-only status spec (no gh needed for demo)
32+
Type `cp "$FLOW_HOME/status-local.yaml" "$FLOW_HOME/status.yaml"`
33+
Enter
34+
Sleep 200ms
35+
3136
Type "clear"
3237
Enter
3338
Sleep 500ms

docs/commands/tapes/delete.gif

10 Bytes
Loading
-223 Bytes
Loading

docs/commands/tapes/edit_state.gif

310 Bytes
Loading
29.5 KB
Loading

docs/commands/tapes/exec.gif

13 Bytes
Loading

docs/commands/tapes/init.gif

259 Bytes
Loading

docs/commands/tapes/list.gif

518 Bytes
Loading

docs/commands/tapes/render.gif

96 Bytes
Loading

0 commit comments

Comments
 (0)