pubx 1.3.1 copy "pubx: ^1.3.1" to clipboard
pubx: ^1.3.1 copied to clipboard

The missing pub commands. Search and view packages from pub.dev from the command line.

pubx #

The missing pub commands.

Search and view pub.dev packages from the command line.

Installation & Usage #

pub global activate pubx
pubx search json

Commands #

add #

Alias: a

Adds the package to your pubspec.yaml file and runs pub get.

pubx add {package-name}

Additional options:

  • dev - add this as a dev_dependencies entry
  • lock - omits the ^ symbol to lock to the latest version
  • no-fetch - prevents the add command from running pub get after adding a dependency

Aliases: se, s, find

Searches pub.dev.

pubx search {query}

updates #

Aliases: u

Checks pub.dev for packages in your pubspec that have updated versions

pubx updates

view #

Aliases: info, show, v

Displays information about the specified package.

pubx view {package-name}

which #

Aliases: w

Displays the path for the local source code of the package stored in .pub-cache

pubx which {package-name}

3
likes
40
points
52
downloads

Publisher

verified publishermadewithfelt.com

Weekly Downloads

The missing pub commands. Search and view packages from pub.dev from the command line.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

args, dolumns, http, path, quiver, yaml

More

Packages that depend on pubx