You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5b8b264
Browse filesBrowse the repository at this point in the historyBrowse files
Resolve the token from WPCOM_TOKEN or ~/.wpcom-token when not passed
So the token can be set once instead of pasted every launch, sim-signin.sh
falls back to the WPCOM_TOKEN environment variable, then a ~/.wpcom-token
file, when neither --wpcom-token nor a positional token is given.
Precedence: flag > env var > file.
Scripts/sim-signin.sh --reset --wpcom-token <token># wipe existing state first
13
13
```
14
14
15
+
To set the token once and drop it from the command line, export `WPCOM_TOKEN` (e.g. in `~/.zshrc`) or write it to `~/.wpcom-token`; the script uses either when `--wpcom-token` is omitted.
16
+
15
17
Or launch directly with the bearer token. The app finishes sign-in automatically while it sits on the login screen — no taps required:
0 commit comments