[verified] feat: add semantic diagram lifecycle
This commit is contained in:
@@ -38,6 +38,46 @@ tasks:
|
||||
CLI_ARGS: "--action=build {{ .CLI_ARGS }}"
|
||||
silent: true
|
||||
|
||||
import:
|
||||
desc: Loss-aware Draw.io import to Diagram IR v2; requires --file and --output.
|
||||
cmds:
|
||||
- task: cli:run
|
||||
vars:
|
||||
CLI_ARGS: "--action=import {{ .CLI_ARGS }}"
|
||||
silent: true
|
||||
|
||||
edit:
|
||||
desc: Apply an atomic stable-ID edit batch; requires --file and --spec.
|
||||
cmds:
|
||||
- task: cli:run
|
||||
vars:
|
||||
CLI_ARGS: "--action=edit {{ .CLI_ARGS }}"
|
||||
silent: true
|
||||
|
||||
views:
|
||||
desc: Project linked audience views to a multi-page Draw.io file.
|
||||
cmds:
|
||||
- task: cli:run
|
||||
vars:
|
||||
CLI_ARGS: "--action=views {{ .CLI_ARGS }}"
|
||||
silent: true
|
||||
|
||||
sync:
|
||||
desc: Three-way stable-ID synchronization; requires --base, --file, and --spec.
|
||||
cmds:
|
||||
- task: cli:run
|
||||
vars:
|
||||
CLI_ARGS: "--action=sync {{ .CLI_ARGS }}"
|
||||
silent: true
|
||||
|
||||
story:
|
||||
desc: Publish a self-contained accessible offline architecture story.
|
||||
cmds:
|
||||
- task: cli:run
|
||||
vars:
|
||||
CLI_ARGS: "--action=story {{ .CLI_ARGS }}"
|
||||
silent: true
|
||||
|
||||
validate:
|
||||
desc: |
|
||||
Validate a .drawio file (XML well-formedness + required structure).
|
||||
|
||||
Reference in New Issue
Block a user