Accept a list of profiles on the CLI and in the config

This commit is contained in:
2026-10-01 19:56:39 +02:00
parent 1e7e632a4a
commit 8457372a0f
5 changed files with 330 additions and 73 deletions
+5 -4
View File
@@ -1,10 +1,11 @@
# Merge rules (apply to every layering below): scalars replace, vec fields
# append, profiles merge by name.
#
# Layers, lowest precedence first: globals -> active profile (with its
# ancestors folded in) -> CLI flags. `--profile` selects the active profile;
# otherwise the top-level `profile` below is used. Profiles can themselves set
# `profile = "parent"` to inherit from another profile.
# Layers, lowest precedence first: globals -> active profiles (with their
# ancestors folded in) -> CLI flags. `--profile a,b` selects the active
# profiles, merged left to right; otherwise the top-level `profile` below is
# used. Either form takes one name or a list. Profiles can themselves set
# `profile = "parent"` (or a list) to inherit; a shared ancestor merges once.
#
# `extra-config` optionally points to a second file layered on top of this
# one. Missing extra-config files are silently skipped; nesting is not