Skip to main content

Module edit_document

Module edit_document 

Source
Expand description

The raw profile document cloud profile edit writes back.

Prompts and flags edit the interpolated Profile (so the operator sees real values), but saving that struct would materialise every ${VAR} placeholder, collapse ${VAR:-default} to its default and replace relative paths with resolved ones. ProfileDocument instead holds the file as authored and receives only the leaves the edit changed; the result is validated by parsing a separately interpolated copy before it is written.

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Structs§

ProfileDocument
The authored YAML of one profile, edited by difference.