CollabOps

co config — configuration

Read, write, and locate the config file

co config reads and writes the config at ~/.config/collabops/config.json (mode 0600). It stores host, token / session cookie, default workspace, default target branch, and so on.

co config get <key>

Prints a single value via dot notation. Exits with code 1 if the key is missing.

co config get api.host
co config get workspace.slug
co config get defaults.targetBranch

co config set <key> <value>

Writes the value back to disk.

co config set api.host https://stage.collabops.ai
co config set workspace.slug collabops-one
co config set defaults.targetBranch develop

co config path

co config path
# /Users/<you>/.config/collabops/config.json

Prefer co auth login / co auth logout for credentials — co config set auth.token … works but skips verification.

Table of Contents