GitHub

auth

Authenticate with squirrelscan for cloud features and publishing

The auth command manages authentication for cloud features - cloud rules, browser rendering, and publishing reports. Logging in grants 1,000 free credits on new accounts.

Subcommands

  • login - Sign in to squirrelscan
  • logout - Sign out and revoke token
  • status - Check authentication status

login

Authenticate with squirrelscan using device authorization flow.

Usage

bash
squirrel auth login [options]

Options

OptionAliasDescriptionDefault
--device-name-dName for this devicehostname

Example

bash
squirrel auth login

Opens browser for authentication. After completing login:

✓ Authenticated as you@example.com
  Device: macbook-pro
  Expires: Feb 2, 2027

logout

Sign out and revoke the current authentication token.

Usage

bash
squirrel auth logout

Example

bash
squirrel auth logout
✓ Signed out successfully

status

Check current authentication status.

Usage

bash
squirrel auth status [options]

Options

OptionDescription
--jsonOutput as JSON

Example

bash
squirrel auth status
Authenticated as: you@example.com
Device: macbook-pro
Expires: Feb 2, 2027

JSON output:

bash
squirrel auth status --json
json
{
  "authenticated": true,
  "email": "you@example.com",
  "deviceName": "macbook-pro",
  "expiresAt": "2027-02-02T00:00:00Z"
}

Type to search…

↑↓ navigate open esc close