env SHELL=/bin/bash
exec runme run --all --category=foo --filename=CATEGORIES.md
cmp stdout foo-bar-list.txt
! stderr .

env SHELL=/bin/bash
exec runme run --all --category=bar --filename=CATEGORIES.md
cmp stdout bar-list.txt
! stderr .

-- CATEGORIES.md --

```bash {"category":"foo","name":"set-env"}
$ export ENV="foo!"
```

```bash {"category":"foo","name":"print-foo"}
$ stty -opost
$ echo "$ENV"
```

```bash {"category":"foo,bar","name":"print-bar"}
$ stty -opost
$ echo "bar!"
```

```bash {"category":"foo,bar","excludeFromRunAll":true,"name":"excluded"}
$ stty -opost
$ echo "excluded!"
```

-- foo-bar-list.txt --
 ►  Running task set-env...
 ►  ✓ Task set-env exited with code 0
 ►  Running task print-foo...
foo!
 ►  ✓ Task print-foo exited with code 0
 ►  Running task print-bar...
bar!
 ►  ✓ Task print-bar exited with code 0
-- bar-list.txt --
bar!
