✨ Publier v1 is live — a polished docs platform built for the open web.
Skip to content

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

Terminal window
publier logout

Details

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

CodeMeaning
0Token removed (or was already absent).
1Unexpected filesystem error.