Enhanced pub package commands.
- Add latest resolvable package
- Remove dependency
- View package info
- Like/unlike/view liked pub.dev packages
- Improved conflict resolution (soon)
- View unused dependencies (soon)
Installation
pub activate global pkg
Usage
Add
Easily add packages to your pubspec. By default pkg will try to resolve
to the latest compatible
version of the package to add to your project.
pkg add <package>
Remove
Will remove the package from your pubspec.
pkg remove <package>
View
Display information about a package
pkg view <package>
Likes
Like a package
pkg like <package>
Unlike a package
pkg unlike <package>
View liked packages
pkg likes