Cloud

fw skills sync

skills sync

Synchronize a versioned skill directory

Added in 0.4.2.

Usage

fw skills sync PATH [flags]

Options

Name Type Default Description
PATH required string
--direction string "auto"

auto, push, pull, or status

--dry-run bool

Report changes without writing files or Cloud versions

--id string

Explicit Cloud skill ID for adoption or an initial pull

--json bool

JSON output

--resolve string

Explicit conflict choice: local or remote; replaced files are backed up

--url string

Framework Cloud server

Environment variable: FW_CLOUD_URL

--variant string "r"

r, python, or stata

Exit codes

Code Meaning
0 Success
1 Failure
2 Bad flags or arguments
3 Not logged in, or the server rejected the token
4 The server has no such project or resource
5 Browser login was denied, or its code expired
6 An upload has "private" in a path; rerun with --include-private if you mean to send it

With --json, a failure also prints one JSON line on stderr: {"error": "...", "exit_code": 4}. Exit code 6 adds "reason": "private_path".