You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> The exclude patterns feature supports standard glob pattern matching (like `*` for any number of characters, `?` for a single character) and is case-insensitive.
177
+
> The exclude and include patterns feature supports standard glob pattern matching (like `*` for any number of characters, `?` for a single character) and is case-insensitive.
178
+
> **Precedence:** Inclusion patterns (`--include`) take precedence.
179
+
> - If `--include` is used:
180
+
> - A file matching an `--include` pattern is **always kept**, even if it also matches an `--exclude` pattern.
181
+
> - A file *not* matching any `--include` pattern is **always ignored**.
182
+
> - If `--include` is *not* used, then only `--exclude` patterns are considered, and matching files are ignored.
> The preset file can be placed in the current directory, `~/.config/mkbrr/`, or `~/.mkbrr/`. You can also specify a custom location with `--preset-file`. Presets support the`exclude_patterns`field, allowing you to define default or preset-specific file exclusions.
234
+
> The preset file can be placed in the current directory, `~/.config/mkbrr/`, or `~/.mkbrr/`. You can also specify a custom location with `--preset-file`. Presets support both`exclude_patterns`and `include_patterns` fields, allowing you to define default or preset-specific file filtering.
227
235
228
236
### Batch Mode
229
237
@@ -236,7 +244,7 @@ mkbrr create -b batch.yaml
236
244
See [batch example](examples/batch.yaml) here.
237
245
238
246
> [!TIP]
239
-
> Batch mode processes jobs in parallel (up to 4 at once) and shows a summary when complete. Batch mode also support the`exclude_patterns`field.
247
+
> Batch mode processes jobs in parallel (up to 4 at once) and shows a summary when complete. Batch mode also supports both`exclude_patterns`and `include_patterns` fields.
0 commit comments