Initialize pipesync in the current directory.
pipesync init [--pica-key <key>]Creates .pipesync/ directory with config, mappings, and state subdirectories.
Options:
--pica-key <key>- Pica secret key. Also reads fromPICA_SECRET_KEYenv var.
Add a new sync mapping.
pipesync add <name> --config '<json>'
pipesync add <name> --config-file <path>Arguments:
name- Unique identifier for this sync (e.g.,gmail-emails,attio-contacts)
Options:
-c, --config <json>- Mapping config as a JSON string-f, --config-file <path>- Path to a JSON file containing the mapping config
List all configured sync mappings with their status.
pipesync listShow detailed info about a specific sync mapping.
pipesync show <name>Displays: platform, connection, action, record type, pagination, field mappings, and current sync state.
Run the sync loop to pull data.
pipesync pull [name] # Pull specific or all mappings
pipesync pull --full # Ignore incremental state, full resync
pipesync pull -o mem # Output to @withone/mem
pipesync pull | jq '.data' # Pipe NDJSON to jq
pipesync pull -v # Verbose outputArguments:
name- (Optional) Specific mapping to pull. Omit to pull all.
Options:
--full- Full resync, ignoring incremental filters-o, --output <type>- Output destination:stdout(default),mem-v, --verbose- Show per-page progress
Output: Reports new records, updated, errors, and duration.
Show sync status for all mappings.
pipesync statusDisplays: status (idle/running/completed/error), last sync time, total records, and errors.
Continuously sync at a given interval.
pipesync watch [--interval 30m]Options:
--interval <duration>- Sync interval. Supports:5s,30m,1h,1d. Default:30m.-o, --output <type>- Output destination:stdout(default),mem-v, --verbose- Verbose output
Remove a sync mapping and its state.
pipesync remove <name>Update an existing mapping config.
pipesync update <name> --config '<json>'
pipesync update <name> --config-file <path>Replaces the mapping config while preserving sync state.