28 lines
365 B
YAML
28 lines
365 B
YAML
id: "yaml"
|
|
aliases:
|
|
- "yml"
|
|
name: "YAML"
|
|
monacoLang: yaml
|
|
|
|
install:
|
|
apt:
|
|
- jq
|
|
riju:
|
|
- prettier
|
|
- yj
|
|
|
|
main: "main.yaml"
|
|
template: |
|
|
output: "Hello, world!"
|
|
|
|
compile: |
|
|
cat main.yaml | yj -yj > main.json
|
|
run: |
|
|
cat main.json | jq .
|
|
|
|
format:
|
|
run: |
|
|
prettier --no-config --stdin-filepath=format.yaml
|
|
input: |
|
|
output: 'Hello, world!'
|