pubx 1.3.1 pubx: ^1.3.1 copied to clipboard
The missing pub commands. Search and view packages from pub.dev from the command line.
Example #
Installation #
pub global activate pubx
pubx add: Add packages to pubspec.yaml #
Alias: a
pubx add json
pubx add --dev build # Add to dev_dependencies
pubx search: Search packages #
Aliases: se, s, find
pubx search json
pubx view: View package information #
Aliases: info, show, v
pubx view mobx
Show package versions
pubx view built_value --versions
Print version only
pubx view built_value --version-only
# Useful for easy copying to the clipboard
pubx view provider --version-only | pbcopy