Peak keeps all of its state in two small files -- no config file to hand-edit, no environment variables required for normal use.
~/.peak/token
Your access token, written by peak login. Mode 0600 -- readable
only by your user. Delete this file to sign out.
.peak/project.json
Written the first time you run peak deploy in a project directory.
Records which Himalaya project and organization that directory deploys
to:
{
"project_id": "...",
"organization_id": "...",
"name": "..."
}
Delete it (or edit the ids) to re-link the directory to a different
project. Peak auto-adds .peak/ to your .gitignore when it creates
this file, so it never gets committed.
API endpoint
Peak talks to https://api.8848lab.org by default. There's currently
no supported way to override this from the CLI.