Browse documentation
← CLI reference

Command

cscale auth

Log in, log out, and connect Git

CLI 0.2.11

cscale auth [OPTIONS] <COMMAND>

Examples

Show the saved login.

cscale auth status

Options

--help

Print help (see a summary with '-h')

--json

Print JSON, for agents and scripts

Default: false

--no-browser

Never open a browser: print the page to open instead. Pages that confirm with your passkey, auth login, and web open one

Default: false

Environment: CSCALE_NO_BROWSER

--server <SERVER>

The Commitscale server, such as https://commitscale.com

Environment: CSCALE_SERVER

Subcommands

  • cscale auth login — Log in: approve in your browser, signed in any way the server offers; or from a link sent to your email; or with a token on standard input. Open the emailed link and type the terminal's code. Email links last 15 minutes. The success line includes your email when available
  • cscale auth logout — Revoke this computer's token
  • cscale auth revoke — Revoke one of your CLI logins or browser sessions, by its ID from `cscale auth tokens`
  • cscale auth setup-git — Let Git use your Commitscale login when it talks to the server
  • cscale auth status — Show the saved login
  • cscale auth tokens — List your CLI logins and browser sessions, to revoke any you no longer use or trust