Closed swalkinshaw closed 1 year ago
I'm still considering other CLI config names. Here are some options:
cli.yml
.cli.yml
I think trellis.yml
is too confusing right now since it doesn't mention CLI and all the current config settings are much more related to the CLI than Trellis itself.
And I'm 50/50 on whether to use the leading .
to make it a hidden file or not. Since the file is optional (and additive), and not directly used by Trellis, the dot prefix makes that more obvious. But what's the actual point in hiding it? The leading .
is more annoying to use and it makes it less visible.
Got some community feedback and decided to go with trellis.cli.yml
.
Adds more supported config files. In order of precedence, the following paths will be loaded:
.trellis/cli.yml
- existing file, now considered deprecatedtrellis.cli.yml
- new pathtrellis.cli.local.yml
- optional local override configThis change is being done to allow the
.trellis
directory to be gitigored as it contains CLI generated files that are machine specific and should not be committed to Git.