Skip to main content

Include

Exampleโ€‹

.aliae.yaml
aliae: !include "{{ .Home }}/.aliae/aliases.yaml"
env: !include_dir "{{ .Home }}/.aliae/envs"
$HOME/.aliae/aliases.yaml
- name: g
value: git
- name: k
value: kubectl

Descriptionโ€‹

The !include and !include_dir yaml tags allow you to include a single file or a directory of .yaml files respectively. This allows for clean organization of aliae, envs, and all other things handled by Aliae. File/Directory paths support templating