ela
Contents

The manual

Agents

The guide ela --agent prints: here-documents, --lint first, run and wait, the skill and the hook. Each section is the text ela --spec prints for it.

This guide is for an AI agent whose shell tool runs ela. It shows how to hand ela a script, check it before it runs, read its errors and wait for its work. ela --agent prints it and ela --spec agent shows it. Each part names the ela --spec topic that holds the rest.

  1. 01Strings at a glance
  2. 02Calling ela
  3. 03A built-in or a command
  4. 04Printing a value
  5. 05Lint before a run
  6. 06Explain an error
  7. 07Yes or no, and try
  8. 08A value from a choice
  9. 09A list from a loop
  10. 10A list's procs and a map's
  11. 11Jobs: run and wait
  12. 12Time limits: with time.block and time.each
  13. 13Which quotes to use
  14. 14Quotes: wrong and right
  15. 15Names and typed results
  16. 16A language server
  17. 17The skill
  18. 18The hook
  19. 19Commands a line runs