Browse documentation
← CLI reference

Command

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

CLI 0.2.11

cscale auth login [OPTIONS]

Examples

Open the sign-in link sent by email and type the terminal's code.

cscale auth login --email you@example.com

Read a token from standard input and save the login.

cscale auth login --with-token

Options

--email <EMAIL>

Send a sign-in link to this address; open it and type the terminal's code. It lasts 15 minutes

--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

--with-token

Read your personal access token from standard input instead. It is checked, then saved

Default: false