xonixx/makesure

Revamp `@define`

xonixx opened this issue · 0 comments

xonixx commented

Related to #139

Goals

  • Change the syntax to @define VAR 'value' to be more consistent
  • Adjust semantics & priority
  • Interpolate values @define VAR "hello $WORLD"
  • Be able to setup value on different levels, see the ansible approach
  • Detect unset variable as an error?
  • Protect from accidental variable redefinition by environment?
  • Keep semantics compatibility with shell?
  • Don't introduce new directives or modifiers