embed_artifact
Puts an artifact’s frame at the end of a page’s file, as one commit on a branch, checked like git commit, so the page shows it once the branch is merged. Typed inside bash, where help embed_artifact prints the same.
Usage: embed_artifact SLUG PAGE [options]
Puts an artifact's frame at the end of a page's file, as one commit ona branch, checked like git commit, so the page shows it once thebranch is merged. Refused for a picture, which goes on a page as animage, and for an artifact that reads private data.
Options: --slug TEXT (required) The artifact's slug, from list_artifacts. --page TEXT (required) The page's file, such as pages/index.vzk. --branch TEXT (default: the checkout's branch) The branch to write, made with git switch -c. main is never written directly. --json OBJECT Every argument at once, as one JSON object; --json - reads it from stdin.