-
Notifications
You must be signed in to change notification settings - Fork 13
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
Syntax: "denox start" as option to "denox run start" #7
Comments
Thank you @dllmkdir it would be a good addition. As I am currently adding a couple of commands eg: For example if a user adds a script named
We could display a warning saying that Feel free to make a PR, if you need any help let me know |
I love less typing, too! I have proposed an alternate solution to this in #16 |
I want to echo what @BentoumiTech said about reserved words, and also add another note: It is more robust CLI design to reserve argument positions for the types they represent. Currently, the first argument to
|
Very interesting proposal. Just wanna drop another use case to consider. I would love to do Imagine the workspace file would look some like: scripts:
unit:
command: test
# 👆 command be of type "run" | "test" with "run" as default
deno_options:
watch: true
import-map: index.unit.importmap.json index.test.ts |
Issue Type
Expected
Denox could run a denox option to create a better shorthand command.
The "run" word could be preserved. as optional
Actual
Possible Solutions
Could fork the project to start this feature.
BTW, Awesome Library! I was searching for something like this
Info
denox/0.3.0 darwin-x86_64 deno-1.0.0
The text was updated successfully, but these errors were encountered: