Taskfiles call the api scripts through bash, so a copied install without execute bits works

This commit is contained in:
root-at-skic committed 2026-10-20 12:08:03 +03:00
1 parent b169034b4f
commit abb4eb279f
4 files changed
+8 -8

No files matched your search

+4 -4
View File
@@ -7,26 +7,26 @@ tasks:
desc: 'Validate a whole model -- --dir="<model folder or any file inside>" [--quality=standard|showcase]'
cmds:
- |
./.scripts/model/api/model--validate.sh {{ .CLI_ARGS }}
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:
- |
./.scripts/model/api/model--list.sh {{ .CLI_ARGS }}
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:
- |
./.scripts/model/api/model--scaffold.sh {{ .CLI_ARGS }}
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:
- |
./.scripts/model/api/model--resolve.sh {{ .CLI_ARGS }}
bash ./.scripts/model/api/model--resolve.sh {{ .CLI_ARGS }}
silent: true