Skip to main content

CLI Overview

The wl command-line tool is the primary interface for developers and CI systems to interact with Workloom.

Installation

After building the monorepo:

pnpm --filter @workloom/cli exec wl --help

Or link globally:

cd apps/cli && pnpm link --global
wl --help

Configuration

The CLI reads configuration from ~/.config/workloom/config.toml:

registry_url = "http://localhost:3001"

This can be overridden per-command with --registry-url.

Authentication

The CLI uses device authorization flow (RFC 8628):

wl login

Tokens are stored in ~/.config/workloom/credentials.json with restricted file permissions.

Command groups

GroupCommandsPurpose
Authlogin, logout, whoamiAuthentication
Workspaceinit, bind, unbind, statusWorkspace binding
Syncpull, pushPackage sync

See Commands for the full reference.