-
-
Notifications
You must be signed in to change notification settings - Fork 69
Quick reference
jahwag edited this page Aug 5, 2024
·
11 revisions
Here's the merged markdown:
# 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>` |
For advanced options, see [Advanced Features](link-to-advanced-features).
### 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)
**Example:**claudesync config set upload_delay 0.5
### Ignore Rules
Create a `.claudeignore` file to specify files/patterns to ignore (similar to `.gitignore`).
**Example `.claudeignore`:**
*.log temp/ secrets.txt
For more, see [Advanced Features](advanced-features).
# Advanced features
## Two-way Sync (Experimental)
Enable two-way synchronization to reflect changes made on Claude.ai in your local files:
claudesync config set two_way_sync true
Note: 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.