cli/tests/sample-configs/valid/toplevel_when.toml
raw| 1 | #:schema ../../../src/config-schema.json |
| 2 | |
| 3 | # --when can be used at the top-level. This is useful when configuration is |
| 4 | # organized over several files. |
| 5 | --when.repositories = ["~/repos/employer"] |
| 6 | |
| 7 | # This might be a file that represents all configuration that should apply to |
| 8 | # the set of repositories belonging to an employer. Setting a custom work email |
| 9 | # could be a common use case. |
| 10 | user.email = "[email protected]" |