This is an experimental command and is likely subject to change in the future.
eval command allows you to fully evaluate a Terramate expression provided in the arguments.
For security reasons, the filesystem related functions are disabled for now. Below is the list of functions that cannot be used in this command:
terramate experimental eval <exprs>
Evaluate an expression that returns the uppercase version of the current stack name:
terramate experimental eval 'tm_upper(terramate.stack.name)'
Evaluate an expression that returns a list of all stacks inside the project:
terramate experimental eval 'terramate.stacks'