command
datumhue run
Run a local Lua script or package directly. Accepts a .lua file, a directory containing a package.kdl manifest, or a .dhpkg archive. Defaults to the current directory when no path is given.
datumhue run [OPTIONS] [SCRIPT] [-- <SCRIPT_ARGS>...]| Argument | Default | Description |
|---|---|---|
[SCRIPT] | . | Path to the |
[SCRIPT_ARGS]... | none | Everything after |
| Option | Default | Description |
|---|---|---|
--dir <NAME:PATH> | none | Grant a read-only directory capability ( |
--dir-rw <NAME:PATH> | none | Grant a read-write directory capability ( |
--file <NAME:PATH> | none | Grant a read-only file capability ( |
--file-rw <NAME:PATH> | none | Grant a read-write file capability ( |
--service | off | Run a |
--debug-input | off | Allow |
--watch | off | Watch the source and reload the running app when files change. A change that fails to load or compile keeps the current version running and prints the error |
--profile <PATH> | none | Record a sampling profile of the run's script execution and write it to PATH on exit, in speedscope JSON format with one profile per app |
--profile-summary <PATH> | none | Also write a profiling summary as JSON to PATH: per-function call counts with self and total times, plus per-app frame-budget statistics |
--report <PATH> | none | Also write an HTML report of the profile to PATH |
--open | off | Write the HTML report (to --report PATH or a temporary file) and open it in the system browser after the run |