push_skills()
Push Locally Edited Skills to Framework Cloud
Sends locally edited skills to Framework Cloud as new versions of your own skills. Each skill tracked in .framework/skills.lock.json whose files changed since the last pull goes up through skills_sync(). A skill that changed on Cloud since then is refused with "Pull first"; force = TRUE pushes it anyway, as the latest version. A built-in Framework skill is never changed: an edited one is saved as your own copy. Skills not tracked are listed; skills_sync() adds one. Needs cloud_login().
Usage
push_skills(project_path = ".", force = FALSE, confirm = NULL, dry_run = FALSE)
Arguments
| Name | Default | Description |
|---|---|---|
| project_path | "." |
Path to the project directory (default: current directory). |
| force | FALSE |
Push skills that changed on Cloud since the last pull. |
| confirm | NULL |
|
| dry_run | FALSE |
Report what would be pushed and send nothing. |
Value
Invisibly, a list: dry_run, skills (each with name, status, and paths; status is pushed, refused, untracked, cancelled, or failed), counts by status, and message (the summary line).
Details
Before pushing, a warning names what each new version affects, then asks to continue. Without a console, pass confirm = TRUE.
Examples
Not run
if (FALSE) {
push_skills(dry_run = TRUE)
push_skills()
}