Overview
The timeback resources command manages course configurations between your local timeback.config.json and Timeback’s remote services.
Commands
Command Description pushPush local config to Timeback (local → remote) pullPull remote changes into local config (remote → local) unlinkUnlink courses from Timeback (deletes remote, keeps local)
push
Push resources defined in your local timeback.config.json to Timeback.
# Push to staging
timeback resources push
# Push to production
timeback resources push --env production
# Preview changes without applying
timeback resources push --dry-run
Flag Description --env <env>Target environment (staging or production) --dry-runPreview changes without applying --yesSkip confirmation prompt
pull
Pull remote course changes into your local timeback.config.json.
# Pull from staging
timeback resources pull
# Pull from production
timeback resources pull --env production
# Pull and apply changes without prompting
timeback resources pull --apply
# Pull and import new resources
timeback resources pull --import
Flag Description --env <env>Source environment (staging or production) --applyApply changes without prompting --importRun import flow for new courses after pull
unlink
Unlink courses from Timeback, deleting the remote but keeping local definitions.
# Unlink from staging (interactive)
timeback resources unlink
# Unlink from production
timeback resources unlink --env production
# Unlink all courses
timeback resources unlink --all
# Preview without applying
timeback resources unlink --dry-run
Flag Description --env <env>Target environment (required with --yes) --allUnlink all courses (no interactive selection) --dry-runPreview without applying --yesSkip confirmation (requires explicit --env)
Unlinking deletes courses from Timeback. This cannot be undone. Use --dry-run first to preview
changes.
Next Steps
CLI: API Query APIs directly
Configuration Full config reference