-
Notifications
You must be signed in to change notification settings - Fork 1
/
example-config.yaml
44 lines (40 loc) · 998 Bytes
/
example-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# yaml-language-server: $schema=schema/ti-config-schema-v1.json
# optional, default '1'
version: '1'
tasks:
- name: git list remote branch
cmds:
- git fetch -p
- type: shell
value: git branch -a | awk '{print $1}'
- name: sample of text (shorthand)
cmds:
# param will be type: 'text' if you not declare it in params
- echo hello $(?name)
- name: sample of text
cmds:
- value: echo hello $(?name)
params:
name:
type: text
- name: sample of select
cmds:
- value: echo eat $(?fruit)
params:
fruit:
type: select
choices:
- Avocado
- Breadfruit
- Kiwi Berry
- name: sample of mixed
cmds:
- echo hello $(?yourname)
- value: echo eat $(?fruit)
params:
fruit:
type: select
choices:
- Avocado
- Breadfruit
- Kiwi Berry