Commit ed500cc
Propagate --non-interactive flag to environment variable
Add a Before hook that sets STEP_NON_INTERACTIVE=1 when the
--non-interactive flag is used, allowing ui.CanPrompt() to detect
the flag without needing access to the cli context.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent b119584 commit ed500cc
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
151 | 160 | | |
152 | 161 | | |
153 | 162 | | |
| |||
0 commit comments