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

Let jag download and run examples like 'go install' does #59

Open
kasperl opened this issue Dec 17, 2021 · 1 comment
Open

Let jag download and run examples like 'go install' does #59

kasperl opened this issue Dec 17, 2021 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@kasperl
Copy link
Member

kasperl commented Dec 17, 2021

Could we let 'jag run' and 'jag watch' start from URLs to make it really straightforward to try examples?

jag run https://github.com/toitlang/toit/blob/master/examples/hello.toit

Extra points if it could run examples from packages and automatically get the dependencies right.

@kasperl kasperl added enhancement New feature or request question Further information is requested labels Dec 17, 2021
@kasperl
Copy link
Member Author

kasperl commented Sep 10, 2022

Maybe it actually makes even more sense now that we can install containers with services? We could do:

jag container install https://github.com/toitlang/pkg-service-foo

and add something to the pkg-service-foo package that would make it easy to identify the entry point, name, and possibly also the configuration options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Development

No branches or pull requests

1 participant