-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
command line tool proposal #1702
Comments
This introduces another "rule" which is somewhat magical. Right now the same effect can be achieved using simple bash aliases:
|
discussion moved here denoland/std#471 |
I tried but |
I have too |
@runnerSnail it just an example. Deno does not have this module |
How did you solve it? @axetroy |
something like
npm install xxx -g
we need to write a command line tool for deno to do something job. eg.
pm2
Like npm, there is a bin directory that place the
syslink
of the executable file. eg..deno/bin
Design goals:
Since deno does not have
package.json
, we don't know which file is executable.So we set a rule: Executable files are only stored in the
bin
directorydeno install xxx
denox
or like
npx pm2
or make be it can be third-party library
The text was updated successfully, but these errors were encountered: