<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->
Overview
Backup and restore AIRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files.
Quick install
npm install -g AIRoute # or: npx AIRoute
AIRoute --version
Subcommands
`backup`
Example:
AIRoute backup
`backup create`
Flags:
--name <name>--cloud--encrypt--key-file <path>--exclude <pattern>--retention <n>
Example:
AIRoute backup create
`backup auto`
Example:
AIRoute backup auto
`backup enable`
Flags:
--cron <expr>--cloud--encrypt--retention <n>
Example:
AIRoute backup enable
`backup disable`
Example:
AIRoute backup disable
`backup status`
Flags:
--name <name>--cloud--encrypt--key-file <path>--exclude <pattern>--retention <n>
Example:
AIRoute backup status
`backup restore [backupId]`
Flags:
--list--yes
Example:
AIRoute backup restore [backupId]
`task`
Example:
AIRoute task
`cloud create`
Flags:
--title <t>--prompt <p>--prompt-file <path>--repo <url>--branch <b>--metadata <json>
Example:
AIRoute cloud create
`cloud list`
Flags:
--status <s>--limit <n>
Example:
AIRoute cloud list
`cloud get <taskId>`
Example:
AIRoute cloud get <taskId>
`cloud status <taskId>`
Example:
AIRoute cloud status <taskId>
`cloud cancel <taskId>`
Flags:
--yes
Example:
AIRoute cloud cancel <taskId>
`cloud approve <taskId>`
Example:
AIRoute cloud approve <taskId>
`cloud message <taskId> <message>`
Example:
AIRoute cloud message <taskId> <message>
`cloud sources <taskId>`
Example:
AIRoute cloud sources <taskId>
`cloud cloud`
Example:
AIRoute cloud cloud
`cloud agents`
Example:
AIRoute cloud agents
`cloud auth`
Flags:
--no-browser--timeout <ms>
Example:
AIRoute cloud auth
`sync`
Example:
AIRoute sync
`sync push`
Flags:
--target <t>--bundle <list>--dry-run
Example:
AIRoute sync push
`sync pull`
Flags:
--source <s>--merge--replace--dry-run
Example:
AIRoute sync pull
`sync diff`
Flags:
--source <s>--target <t>
Example:
AIRoute sync diff
`sync bundle <outPath>`
Flags:
--include <list>
Example:
AIRoute sync bundle <outPath>
`sync import <bundlePath>`
Flags:
--dry-run
Example:
AIRoute sync import <bundlePath>
`sync initialize`
Flags:
--from-cloud
Example:
AIRoute sync initialize
`sync tokens`
Example:
AIRoute sync tokens
`sync list`
Example:
AIRoute sync list
`sync create`
Flags:
--name <n>--scope <s>--ttl <duration>
Example:
AIRoute sync create
`sync revoke <id>`
Flags:
--yes
Example:
AIRoute sync revoke <id>
`sync status`
Example:
AIRoute sync status
`sync resolve`
Example:
AIRoute sync resolve