Skip to main content
The auth command manages authentication for publishing reports to reports.squirrelscan.com.

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

squirrel auth login [options]

Options

OptionAliasDescriptionDefault
--device-name-dName for this devicehostname

Example

squirrel auth login
Opens browser for authentication. After completing login:
✓ Authenticated as [email protected]
  Device: macbook-pro
  Expires: Feb 2, 2027

logout

Sign out and revoke the current authentication token.

Usage

squirrel auth logout

Example

squirrel auth logout
✓ Signed out successfully

status

Check current authentication status.

Usage

squirrel auth status [options]

Options

OptionDescription
--jsonOutput as JSON

Example

squirrel auth status
Authenticated as: [email protected]
Device: macbook-pro
Expires: Feb 2, 2027
JSON output:
squirrel auth status --json
{
  "authenticated": true,
  "email": "[email protected]",
  "deviceName": "macbook-pro",
  "expiresAt": "2027-02-02T00:00:00Z"
}