@risottobias not sure i follow, but i don't think the embed directive support any kind if variables, only a list of path.Match patterns, so you cant really pass a pattern to the directive. but maybe one could do weird stuff with symlinks/relative paths etc?
Posts
-
Oooo, cursed idea: -
wrote a pipeline at work that went approximately thingctl blah list --json | jq -r '.items[] | @text "thingctl blah blah --bluh=\(.bluh) --ble=\(.blem)" | sh@atax1a @nabijaczleweli tip: use @sh to shell escape while string interpolate:
$ jq -rn '"a b c" | @sh "hello \(.)"'
hello 'a b c'