denox
denox copied to clipboard
Provide a meta-command to output interpolated deno command strings
Issue Type
- Feature Request
This screenshot is shown in the readme:

After running the command, it shows this text in stdout:
Running main script with allow-read, seed and reload options ...
This doesn't appear in the current version of denox. I don't know why for certain, but I agree that it shouldn't be in stdout for multiple reasons.
However, this is the core functionality of denox: to interpolate commands for proxying to deno.
It would be extremely useful for denox to provide the interpolated command strings using a prefix like command, for example:
deno-workspace.yaml
scripts:
main:
file: main.ts
deno_options:
allow-net: example.com
unstable: true
> denox command run main script args
deno run --allow-net=example.com --unstable main.ts script args
This would be useful for understanding how denox is parsing the workspace file and could potentially help to debug denox in the future.
Info
- DenoX version:
0.4.0
@BentoumiTech Thoughts?
It's a great addition @jsejcksn, I think it does make total sense to have it.
I'll work something out this week for this.