Headless Mode - oils-for-unix/oils GitHub Wiki

Back to Interactive Shell

Tips

  • Use push-registers { foo } to avoid clobbering $?, BASH_REMATCH, and other registers (VM globals).

Resources

TODO

  • Demo of how to pass a pipe, and e.g. dump JSON (is our json builtin stable? Or does read --json and read --qtt make more sense?)
  • command line option --source (global) (or should it be --use (namespaced) ?)
  • Document "registers" ?
  • More docs on how to implement a headless client. Join #shell-gui on Zulip for discussion!