[ Workspaces ] Allow dart pub workspace to exec custom commands

Page URL

Page source

Describe the problem

dart pub workspace only have the list subcommand yet and this makes it not as viable as Melos.

Is it possible to create a exec command like the Melos exec where we can perform custom commands for every package at the workspace like some build_runner or others?

Expected fix

dart pub workspace exec – “flutter pub run build_runner build” should work and others as well.