From fcc171b16dd5803d5535a3d35f3547beb1b92e28 Mon Sep 17 00:00:00 2001 From: rsteube Date: Sun, 3 Sep 2023 16:08:56 +0200 Subject: [PATCH] added traverse --- docs/src/carapace-spec/macros/modifier.md | 27 +++++++++++++++++++++++ example/traverse.yaml | 22 ++++++++++++++++++ go.mod | 2 +- go.sum | 4 ++-- modifier.go | 25 ++++++++++++++++++++- 5 files changed, 76 insertions(+), 4 deletions(-) create mode 100644 example/traverse.yaml diff --git a/docs/src/carapace-spec/macros/modifier.md b/docs/src/carapace-spec/macros/modifier.md index dde6ce0..b4be77a 100644 --- a/docs/src/carapace-spec/macros/modifier.md +++ b/docs/src/carapace-spec/macros/modifier.md @@ -13,6 +13,22 @@ These can be set generic `["", "", ""]` specific `["])`](https://rsteube.github.io/carapace/carapace/action/filter.html) filters given values. @@ -139,3 +155,14 @@ These can be set generic `["", "", ""]` specific `["