Commit 19f5d97
feat(install): add SENTRY_INIT env var to run wizard after install
Lets users install the CLI and launch the setup wizard in one command:
curl -fsSL https://cli.sentry.dev/install | SENTRY_INIT=1 bash
After the normal install completes, resolves the installed binary path
and runs `sentry init </dev/tty`. The </dev/tty reopens stdin from
the terminal since `curl | bash` consumes it for the pipe.
Also adds `install` to the docs-preview workflow path filter so changes
to the install script trigger a preview build.
Closes #682
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 79e72c1 commit 19f5d97
2 files changed
+21
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| 96 | + | |
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
| |||
276 | 278 | | |
277 | 279 | | |
278 | 280 | | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
0 commit comments