save_version
Commit a part's script, ref/ folder, MEASURE.md, .py files and b123d-print.toml (never out/) to git history after a passed build, or initialize the repo on approval. Records what changed in the user's words.
Instructions
Save a version of the project in its version history (git, on the user's machine): each part's script, its ref/ folder, MEASURE.md and the .py files beside it, and b123d-print.toml; never out/. Only when the user said yes: after a change that built and passed its checks, OFFER "Save this version? (: )", never save on your own. message: what changed, in the user's words ("arm 115 -> 130 mm"); part: only that part (default: all). The result says what was saved and the changed Dims values. start=True first makes the project folder a git repository with a .gitignore: only after the user agreed to keep a version history. On a shared (HTTP/SSH) server it runs nothing and returns the commands for the user's own project folder.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| part | No | ||
| start | No | ||
| message | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |