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

Order of CLI flags #2708

Closed
ConsoleTVs opened this issue Aug 1, 2019 · 2 comments

Comments

@ConsoleTVs
Copy link

commented Aug 1, 2019

The order of the CLI flags should not be of importance. Check this example

image

Shouldn't

 deno test.ts --config tsconfig.json

be the same as

deno --config tsconfig.json test.ts

or maybe I'm wrong?

@kitsonk

This comment has been minimized.

Copy link
Contributor

commented Aug 1, 2019

We have to have some sort of demarkation between what is to be consumed by Deno, and what should be made available for the script. Currently it is assumed anything after the main script is to be consumed by the script, anything before the main script is to be consumed by Deno.

The only other solution is to introduce something like -- to make that demarkation, which just seems worse than the current solution.

@ConsoleTVs

This comment has been minimized.

Copy link
Author

commented Aug 1, 2019

Uhh, I see, makes sense tbh, will close this.

@ConsoleTVs ConsoleTVs closed this Aug 1, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.