leoafarias / pkg

Enhanced pub package commands.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pkg

Pub Version Likes Pub points 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

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

About

Enhanced pub package commands.

License:MIT License


Languages

Language:Dart 100.0%