Closed
Description
<img src="https://avatars.githubusercontent.com/u/654526?v=3" align="left" width="96" height="96"hspace="10"> Issue by financeCoding
Originally opened as dart-lang/sdk#9456
In https://github.com/dart-gde/discovery_api_dart_client_generator we have a dart script that automatically versions and commits code to github. Later the script uploads to pub via Process.run() commands. What we have works but a solution where we could import some 'package:pub/...' to handle this for us would be great. I also find that pub has a lot of common and reusable code that others might want to depend on. Pub's design is nice since everything is a library. I have ripped code out of pub for other projects.