Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a meta-command to output interpolated deno command strings #18

Open
jsejcksn opened this issue Jun 29, 2020 · 2 comments
Open

Comments

@jsejcksn
Copy link

Issue Type

  • Feature Request

This screenshot is shown in the readme:

denox in terminal

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
@jsejcksn
Copy link
Author

jsejcksn commented Jul 9, 2020

@BentoumiTech Thoughts?

@BentoumiTech
Copy link
Owner

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.

@BentoumiTech BentoumiTech added this to To do in DenoX 1.0.0 Aug 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
DenoX 1.0.0
  
To do
Development

No branches or pull requests

2 participants