Changelog
- 10c674a hof/tui: introduces the hof TUI and implements a CUE browser and playground like experience (#289)
hof eval --tui [cue args & flags...]
hof tui ls (opens a file browser, double click to open in eval)
curl api.com | hof eval --tui -
kubectl ... --out json | hof eval --tui -
- use arrows or vim keys to move
- spacebar or enter expands a directory
- mouse is supported, double click in ls file tree to open in eval
- CTRL-spacebar will get you to the command input (top-left), you can
eval [cue args & flags]
there to open a new value - ctrl-w will swap between value true and CUE code
- ctrl-{h,o,f,r} control the amount of evalutation (hidden, optional, final, resolve)