-
Notifications
You must be signed in to change notification settings - Fork 229
Make command-line apps in packages available directly on the user's PATH #970
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
Comments
<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent Marked this as blocking #407. |
<img src="https://avatars.githubusercontent.com/u/444270?v=3" align="left" width="48" height="48"hspace="10"> Comment by seaneagan Will this support adding scripts from "path" (instead of "hosted") dependencies to your PATH? For why I need that, see issue #1020. |
<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent I have a TODO in the code for it, but nothing beyond that. Can you file a separate tracking bug? Thanks! |
<img src="https://avatars.githubusercontent.com/u/444270?v=3" align="left" width="48" height="48"hspace="10"> Comment by seaneagan Filed issue #1044 for supporting all package sources in "pub global activate". |
<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent Thanks! |
<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent Added Started label. |
<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent This is (finally) landed! Details and docs forthcoming! Added Fixed label. |
<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="96" height="96"hspace="10"> Issue by munificent
Originally opened as dart-lang/sdk#18539
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: