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

Make command-line apps in packages available directly on the user's PATH #18539

Closed
munificent opened this issue Apr 30, 2014 · 8 comments
Closed
Assignees
Labels
type-enhancement A request for a change that isn't a bug

Comments

@munificent
Copy link
Member

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 ...

@munificent
Copy link
Member Author

Marked this as blocking #7874.

@DartBot
Copy link

DartBot commented Jul 1, 2014

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.

@munificent
Copy link
Member Author

I have a TODO in the code for it, but nothing beyond that. Can you file a separate tracking bug? Thanks!

@DartBot
Copy link

DartBot commented Jul 8, 2014

This comment was originally written by @seaneagan


Filed issue #19902 for supporting all package sources in "pub global activate".

@munificent
Copy link
Member Author

Thanks!

@munificent
Copy link
Member Author

Added Started label.

@munificent
Copy link
Member Author

This is (finally) landed! Details and docs forthcoming!


Added Fixed label.

@DartBot
Copy link

DartBot commented Jun 5, 2015

This issue has been moved to dart-lang/pub#970.

@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed type-enhancement labels Mar 1, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

3 participants