ela
Contents

ManualAgents

Explain an error

In the terminalela --spec explain-an-error

ela --explain says why ela refused a line and how to write it instead. Read it before you change the script. It takes any message ela printed, or its start.

$ ela --explain 'undefined variable $nope'rule:   Reading a variable nothing has set is an error, never an empty string.why:    A typo in a name would otherwise be an empty value passed on quietly, as rm -rf $dir/ shows.wrong:  echo $nmaeright:  name = "amber"        echo $namespec:   ela --spec variables
  • ela --builtins --json lists every built-in proc, package proc and shell built-in, with its parameters.
  • ela --spec lists the spec's topics.

(ela --spec error-messages)