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
45
46
47
48
49
50
51
52
53
about: system utilities
commands:
path-demo:
about: Demo script that depends on a sibling for PATH
dependencies:
- path-demo-impl
commands:
help:
about: Describe this script.
exec:
argv:
- bash
- -lc
- |
cat <<'EOF'
path-demo
Demo script that depends on a sibling for PATH
Bundled dependencies (on PATH when run): path-demo-impl
EOF
run:
about: Run the script; forwards args.
exec:
argv:
- bash
- -lc
- "echo path-demo-stub"
passthrough: true
path-demo-impl:
about: Sibling implementation used only as a PATH dependency
path: .
commands:
help:
about: Describe this script.
exec:
argv:
- bash
- -lc
- |
cat <<'EOF'
path-demo-impl
Sibling implementation used only as a PATH dependency
EOF
run:
about: Run the script; forwards args.
exec:
argv:
- bash
- -lc
- "echo path-demo-impl-stub"
passthrough: true