skip to content
ccdocs

Command Reference

cc's CLI is noun-grouped: cc <group> <verb> (e.g. cc db use, cc git pr, cc project env list). A handful of hot-path commands stay flat. Run cc <group> with no verb to see that group's help, or cc help <command> for any command.

Flat commands

CommandDescription
cc switchSwitch active project/environment, configure the IDE, open it
cc cdChange directory to the active environment
cc statShow the active environment
cc setupFirst-time wizard — settings, versions, pyenv, shell, theme
cc workspaceManage workspaces — groups of projects sharing an Odoo version

cc db — Databases

CommandDescription
cc db useSet the active database for the current environment
cc db listList databases linked to the current environment
cc db dropDrop a PostgreSQL database (local or dockerized)
cc db initCreate a database from a dump file
cc db copyQuick in-place database copy (-CC-COPY suffix)
cc db restoreRestore from a CC copy
cc db backupNamed DB snapshots — create, list, restore, delete
cc db renameRename a database (CC record + PostgreSQL)
cc db linkAdd a database to the current environment's pool
cc db unlinkRemove a database from the environment's pool
cc db extendPush the active DB's expiry to 2099, disable the update cron
cc db checkDiagnose the Postgres connection

cc git — Git & GitHub

CommandDescription
cc git branchChange the branch of the active/chosen environment
cc git fetchgit fetch across all version repos
cc git prPR lifecycle — list, create, view, merge, checkout, checks
cc git githubOpen the GitHub repo in a browser

cc config — Configuration

Bare cc config opens the interactive settings picker; -l/--list prints all settings.

CommandDescription
cc configSettings picker (bare) / --list
cc config ideManage editor integration writers (setup, list)
cc config venvManage the pyenv virtualenv linked to the active version
cc config themePick or set the color theme
cc config shellInstall / check shell integration (zsh, bash, fish)
cc config completionPrint a native completion script
cc config resetDrop the CC SQLite schema (full reset)

cc daemon — Background daemon

CommandDescription
cc daemonLifecycle — start, stop, restart, status
cc daemon logsTail daemon log files; filter by source or level

cc project — Projects & environments

CommandDescription
cc project createCreate a project
cc project listList projects
cc project deleteDelete a project and its environments
cc project keepExempt a project from auto-archiving (toggle)
cc project envManage environments — create, list, delete, edit, archive, …
cc project clocCount lines of code; -a for active modules only
cc project moduleInstall/update modules; -i/-u sets launch mode
cc project openOpen the active environment in your IDE

Other

CommandDescription
cc webStart the CC companion web app
cc timeView timesheet; start/end manual entries, edit, review
cc intelManage the skill telemetry index — scan, add-repo, list-repos
cc reindexWalk new commits, run language packs, update skill tags
cc syncSynchronize local data with the CC server
cc shOpen the Odoo.sh project in the browser
cc psxOpen PSX runbot tests in a browser
cc ticketOpen the linked ticket in a browser

On this page