dart pub
Work with packages
Subcommands
| Name | Description | 
|---|---|
add | Add a dependency to pubspec.yaml | 
cache | Work with the Pub system cache | 
deps | Print package dependencies | 
downgrade | Downgrade packages in a Flutter project | 
get | Get packages in a Flutter project | 
global | Work with Pub global packages | 
login | Log into pub.dev | 
logout | Log out of pub.dev | 
outdated | Analyze dependencies to find which ones can be upgraded | 
publish | Publish the current package to pub.dartlang.org | 
remove | Removes a dependency from the current package | 
upgrade | Upgrade the current package's dependencies to latest versions | 
uploader | Manage uploaders for a package on pub.dev | 
Options
| Name | Description | 
|---|---|
-h, --help | Print this usage information | 
--trace | Print debugging information when an error occurs | 
--no-trace | Do not print debugging information when an error occurs | 
-v, --verbose | Shortcut for '--verbose=all |