puby 1.16.1 copy "puby: ^1.16.1" to clipboard
puby: ^1.16.1 copied to clipboard

outdated

Run pub commands for all sub projects in the current directory recursively

Run pub commands for all sub projects in the current directory recursively

Features #

  • Supports all project-level pub commands
  • Determines if a project uses dart or flutter automatically
  • FVM support
  • Convenience shortcuts for common dart/flutter commands
  • Combined exit code for use in CI
  • Per-project command exclusions
Command Equivalent
puby [options] [dart|flutter] pub [options]
puby gen [options] [dart|flutter] pub run build_runner build --delete-conflicting-outputs [options]
puby test [options] [dart|flutter] test [options]
puby clean [options] flutter clean [options] (only runs in flutter projects)

For projects configured with FVM, fvm flutter [options] is used.

Use as an executable #

Installation #

$ dart pub global activate puby

Usage #

$ puby get
$ puby upgrade --major-versions
...

Configuration #

Create a puby.yaml file in the root of the project you want to configure

Exclusions #

Add command exclusions to prevent them from running in a project

exclude:
  - test
  - pub run build_runner

Exclusions match from the start of a command, and the entire exclusion string must be present. Here are some examples:

Exclusion Example command excluded
test [dart|flutter] test --coverage
pub run build_runner [dart|flutter] pub run build_runner build
33
likes
0
pub points
20%
popularity

Publisher

verified publisherrexios.dev

Run pub commands for all sub projects in the current directory recursively

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

ansicolor, path, pub_update_checker, pubspec_parse, yaml

More

Packages that depend on puby