-
Notifications
You must be signed in to change notification settings - Fork 40
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
Take a look at pkg/completion #103
Comments
@kevmoo hadn't seen that before, thanks for posting it! I'll look into using this |
@kevmoo we're using completion.dart now (hooray!) We'd like to be able to provide a facility for doing something like below in a
My intention was to just put the generated completion script in Another option would be to generate the script on the fly and use |
@georgelesica-wf please file an issue on the completion package. I'm guessing we have a way around this with recently added SDK APIs. Need to look into it. |
@georgelesica-wf Actually, I'd say look at https://pub.dartlang.org/packages/package_config This isn't anything to do with completion, I think. It's everything to do with getting to the lib dir from a globally activated package, right?
|
@kevmoo Oh cool, actually the content would probably be fine because we could just use the |
@georgelesica-wf I am doing work so you can 'pub global activate completion' too. It has a silly dependency on Platform.script being a file: URI at the moment. I'm fixing that up. |
https://github.com/kevmoo/completion.dart
Manually writing completion scripts isn't a lot of fun – this just parties off pkg/args
Might be useful?
The text was updated successfully, but these errors were encountered: