run method

  1. @override
Future<int> run(
  1. CliContext context
)

Unified execution entrypoint, implemented by commands.

Implementation

@override
Future<int> run(
  CliContext context,
) async {
  return await runCommand(
    invocation: context.invocation,
    logger: context.logger,
    workspaceConfig: context.workspaceConfig,
    packageScanner: context.packageScanner,
    prompter: context.prompter,
    plugins: context.plugins,
    groupStore: await FileGroupStore.createFromContext(context),
  );
}