Skip to content

Quick reference

jahwag edited this page Aug 5, 2024 · 11 revisions

Quick reference

CLI Commands

Task Command
Login claudesync api login <provider>
Logout claudesync api logout
Select Org claudesync organization select
Select Project claudesync project select
Create Project claudesync project create
Sync Files claudesync sync
Check Status claudesync status
List Files claudesync ls
Config claudesync config <subcommand>
Schedule Sync claudesync schedule

Configuration

Task Command
View Config claudesync config ls
Set Config claudesync config set <key> <value>
Get Config claudesync config get <key>

Key Options:

  • active_provider: Current API provider
  • active_organization_id: Selected organization ID
  • active_project_id: Selected project ID
  • local_path: Local sync directory path
  • upload_delay: Delay between uploads (seconds)
  • max_file_size: Max file size (bytes)
  • two_way_sync: Enable/disable (true/false)

Examples:

claudesync config set upload_delay 0.5
claudesync config set two_way_sync true

Note: Two-way sync is experimental. Use with caution as it may lead to conflicts.

Scheduled Syncing

Set up automatic syncing at regular intervals:

claudesync schedule

Follow the prompts to set your desired sync frequency.

Ignore Rules

Create a .claudeignore file to specify files/patterns to ignore (similar to .gitignore).

Example .claudeignore:

*.log
temp/
secrets.txt

Clone this wiki locally