publier logout
Remove the locally cached license token.
Removes ~/.publier/auth.json. After logout, publier dev and publier build fail unless PUBLIER_TOKEN is set in the environment.
Usage
publier logoutDetails
Idempotent — exits 0 whether or not ~/.publier/auth.json existed. Only exits 1 on an unexpected filesystem error (e.g. a permission issue on the parent directory).
Exit codes
| Code | Meaning |
|---|---|
0 | Token removed (or was already absent). |
1 | Unexpected filesystem error. |