-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Make command-line apps in packages available directly on the user's PATH #18539
Comments
Marked this as blocking #7874. |
This comment was originally written by @seaneagan Will this support adding scripts from "path" (instead of "hosted") dependencies to your PATH? For why I need that, see issue #19580. |
I have a TODO in the code for it, but nothing beyond that. Can you file a separate tracking bug? Thanks! |
This comment was originally written by @seaneagan Filed issue #19902 for supporting all package sources in "pub global activate". |
Thanks! |
Added Started label. |
This is (finally) landed! Details and docs forthcoming! Added Fixed label. |
This issue has been moved to dart-lang/pub#970. |
Once pub run is working and can run arbitrary command-line apps in packages, the next step is to not require an explicit "pub run ...". Instead, the application can be placed directly on the user's path.
For example, using npm you can install coffeescript like so:
$ npm install -g coffee-script
Once you do that, it places a "coffee" command in your PATH so you can do:
$ coffee ...
The text was updated successfully, but these errors were encountered: