Files
root-at-skic 887ca973a0 model:graph: the model as one graph with the Graph page's queries; 1.1
- services/graph.mjs builds the union graph (elements, connections, decision and registry nodes) from the loaded model
- queries: text, type:, diagram:, decision:, uses:, near:, from: to:, unused, shared, -shared; walks follow connections only
- task model:graph with --query and --links; three suite checks; SKILL.md task row and gotcha
2026-10-21 23:08:17 +03:00

40 lines
1.1 KiB
YAML

# https://taskfile.dev
version: "3"
tasks:
validate:
desc: 'Validate a whole model -- --dir="<model folder or any file inside>" [--quality=standard|showcase]'
cmds:
- |
bash ./.scripts/model/api/model--validate.sh {{ .CLI_ARGS }}
silent: true
list:
desc: 'What the model page shows -- --dir="<model folder or any file inside>"'
cmds:
- |
bash ./.scripts/model/api/model--list.sh {{ .CLI_ARGS }}
silent: true
scaffold:
desc: 'Create a model -- --dir="<folder>" --id="<id>" --name="<name>" [--description="<text>"] [--c4]'
cmds:
- |
bash ./.scripts/model/api/model--scaffold.sh {{ .CLI_ARGS }}
silent: true
resolve:
desc: 'Resolved Archify JSON of one diagram -- --file="<diagram.archify>" [--out="<file.json>"]'
cmds:
- |
bash ./.scripts/model/api/model--resolve.sh {{ .CLI_ARGS }}
silent: true
graph:
desc: 'The model as one graph, with queries -- --dir="<model folder or any file inside>" [--query="uses:api"] [--links]'
cmds:
- |
bash ./.scripts/model/api/model--graph.sh {{ .CLI_ARGS }}
silent: true