pubCommand function
Returns a Command
for pub functionality that can be used by an embedding
CommandRunner.
isVerbose
should return true
(after argument resolution) if the
embedding top-level is in verbose mode.
Implementation
Command<int> pubCommand({
required bool Function() isVerbose,
String category = '',
}) => PubEmbeddableCommand(isVerbose, category);