Authentication
login
Starts the OAuth device flow (optional --no-browser style flags may apply). On success, stores credentials under ~/.refactron/credentials.json.
logout
Deletes stored credentials and exits the CLI.
auth
Prints whether you are logged in, plan, and token expiry when available.
status
analyze.
diff
autofix results. If no fix data is present, run autofix first.
rollback
.refactron/backups/ when fixes are written; use your version’s behavior for full restore. If restore is not yet wired to this command in your build, recover files manually from the backup directory or re-run from Git.
issues
Opens the issue browser. Requires an active session.help
? — Lists REPL commands (analyze, issues, autofix, verify, status, session, rollback, diff, login, logout, auth, clear, exit).
clear
Clears the REPL output buffer (terminal escape).exit / quit / q
Exits the CLI.See also
- CLI overview
- Quickstart — Auth flow summary
