CLI
Choose a company
Every command runs for one company, and you choose it once per project or once for the machine.
The CLI is not released yet; see Install the CLI.
cd /path/to/project
cady local company set COMPANY_UUID
cady local company showset saves the company for this project and its subfolders in .cady/config.json. show prints the company in use and where it came from, as JSON.
cady local company set COMPANY_UUID --globalsets the default for the whole machine.cady local company unsetremoves a setting (add--globalfor the machine default).cady --company COMPANY_UUID <command>chooses for one command.
Which one wins
In order: --company, the CADY_COMPANY environment variable, the nearest project config, the machine default, then the default you chose at sign-in.
Finding the id
cady setup lists your companies with their ids when you have several. The id is also the long code after /c/ in the web app’s address.
What can go wrong
project_company_unconfirmed(exit 2): the project config came with a cloned repository, so reads go ahead but writes are refused until you have checked it. Read the file, then runcady local company use --projectonce.- The wrong company:
cady local company showsays which setting chose it. The scheduled sync uses only the company pinned when it was installed.
Next: Call Cady from the shell
For agents: this page as Markdown.