Skip to content

Commit

Permalink
CLI config updates
Browse files Browse the repository at this point in the history
Trellis CLI is now preferring `trellis.cli.yml` as the main config file path
over `.trellis/cli.yml` (though it remains supported).

This now makes it possible to gitignore the entire `.trellis` directory
as it contains CLI generated files for machine use only.

`.trellis/cli.yml` is exempted in the gitignore for legacy compatibility
purposes.
  • Loading branch information
swalkinshaw committed Apr 19, 2023
1 parent 02cfc36 commit 7ce0a72
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ vagrant.local.yml
vendor/roles
*.py[co]
*.retry
.trellis/virtualenv
.trellis/*
!.trellis/cli.yml
.trellis.local.cli.yml
6 changes: 6 additions & 0 deletions trellis.cli.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Trellis CLI example config file
# https://roots.io/trellis/docs/cli/#configuration
#
# database_app: sequel-ace
# open:
# admin: "https://mysite.com/wp/wp-admin"

0 comments on commit 7ce0a72

Please sign in to comment.