pkg 0.0.5 copy "pkg: ^0.0.5" to clipboard
pkg: ^0.0.5 copied to clipboard

Enhanced pub package commands to manage and interact with project dependencies.

pkg #

Pub Version Health Coverage MIT Licence

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>

Unused #

Display dependencies that are not referenced directly in your code.

pkg unused

Likes #

Like a package

pkg like <package>

Unlike a package

pkg unlike <package>

View liked packages

pkg likes
4
likes
100
points
71
downloads

Publisher

verified publisherleoafarias.com

Weekly Downloads

Enhanced pub package commands to manage and interact with project dependencies.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, cli_util, fvm, io, path, process_run, pub_api_client, yaml, yaml_edit

More

Packages that depend on pkg