Skip to content

v0.7.0 — eval --js-file + stdin

Latest

Choose a tag to compare

@lipex360x lipex360x released this 18 Jun 13:57
ade1042

Added

  • web-view eval --js-file <path> and stdin (--js -)eval can now take its JavaScript expression from a file or from stdin, not only inline --js "<expr>". --js and --js-file are a required, mutually exclusive group; a missing --js-file errors on stderr and exits 1. Lets reusable multi-line .js snippets run natively through the CLI and compose with pipes (cat find-media.js | web-view eval --js - --frame index_lms). Closes #17.

Install / upgrade: uv tool install --reinstall "git+https://github.com/lipex360x/web-view@v0.7.0".

Full changelog: https://github.com/lipex360x/web-view/blob/main/CHANGELOG.md