WatchdawgWatchdawg

CLI Reference

Complete reference for all Watchdawg CLI commands

Interactive Mode

Running watchdawg with no arguments starts interactive mode. If you're not logged in, it begins the setup flow. Otherwise, it shows a menu with available actions.

watchdawg

Commands

watchdawg setup

Configure a project for telemetry collection. This is the recommended way to get started.

watchdawg setup

Walks you through project selection, prompt logging preferences, and hook registration. Writes configuration to .watchdawg/config.json and registers Claude Code hooks in the settings file matching your chosen scope.

watchdawg login

Authenticate with your Watchdawg account using a device code flow.

watchdawg login

Opens your browser for verification. Credentials are stored in ~/.watchdawg/credentials.json.

watchdawg logout

Sign out and clear stored credentials.

watchdawg logout

Revokes the session on the server and removes local credentials and project configuration.

watchdawg status

Check your current authentication status.

watchdawg status

Shows your email, session expiration, and login state.

Global Flags

FlagAliasDescription
--help-hShow help
--versionShow CLI version

Configuration Files

FileLocationPurpose
Credentials~/.watchdawg/credentials.jsonAuth token and session info
Project config.watchdawg/config.jsonProject ID, org ID, collector URL
Hooks (local).claude/settings.local.jsonPer-project hooks, not version controlled
Hooks (project).claude/settings.jsonPer-project hooks, shared via VCS
Hooks (global)~/.claude/settings.jsonHooks applied to all projects

On this page