Commands
DAC is used from the dashboard. The dac command exists to start and stop it, and to look after its data.
| Command | What it does |
|---|---|
dac start | Starts DAC in the background and opens the dashboard. Add --no-open to only print the link. |
dac open | Opens the dashboard again. |
dac status | Says whether DAC is running and lists your agents. |
dac stop | Stops DAC. Agents that are running keep running. |
dac doctor | Checks the setup and says what needs fixing. |
dac backup | Makes a backup of DAC's data. |
dac backups | Lists the backups. |
dac restore <name> | Puts a backup back. DAC must be stopped first. |
When running from the repository
| Script | What it does |
|---|---|
scripts/start.sh | Installs what DAC needs, builds it and starts it. Safe to run again after pulling changes. |
scripts/stop.sh | Stops every agent and DAC, and removes the Docker containers and networks DAC created. |
Removing the dac command
bash
dac stop
npm uninstall -g divide-and-conquerThis leaves your data in place. Your data and backups says where it is.