wkdir
{{ wkdir() }}
allows you to access the current project directory as a string. This is a less powerful alternative to {{ Path(__file__) }}
.
# triggers.yml
include:
- "{{ wkdir() }}"
triggers:
<trigger name here>:
type: function
function: <import path to function>
kwargs:
arg1: value1