The full list of functions and filters registered with the minijinja environment, grouped by category. Run guisu variables to inspect what is available in a given context.
[!NOTE]
Functions vs filters
A function is called with parentheses: fn(arg). A filter is applied with the pipe operator: value | filter. The same underlying operation may exist as both — see the encryption row below.
[!NOTE]
os() and system.os agree
Both return "darwin" (macOS), "linux", "windows", or "unknown" — they share a single source of truth in guisu_core::platform. os() is the function form; system.os is the context field.
All four functions are available in the default CLI build (the bw and bws
cargo features are on by default). bitwarden and bitwardenFields require
either the bw or rbw feature; bitwardenAttachment requires bw;
bitwardenSecrets requires bws. Results are cached for the lifetime of the
process (one apply is one process, so effectively per-apply).
The string functions take the subject first, then the pattern/separator — the
same order as regex_match(text, pattern) in the Rust regex crate, not Jinja's.
[!TIP]
Generated inline values
Run guisu age encrypt "my secret" to print an inline-encrypted value. The output can be committed safely and embedded in templates as {{ 'value' | decrypt }}.