BentoumiTech / BentoumiTech/denox
Provide a meta-command to output interpolated deno command strings
- Dominant language
- TypeScript
- Stars
- 135
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
## 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`
```yaml
scripts:
main:
file: main.ts
deno_options:
allow-net: example.com
unstable: true
```
```shell
> 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`
Contributor guide
Research direction
Read the CLI command handling and workspace interpolation logic, using the deno-workspace.yaml example in the issue as the starting case. Add a command prefix that prints the interpolated Deno command, then verify that the example produces the shown deno run invocation with its arguments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- deno, typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100