runWithConfig method

  1. @override
Future<void> runWithConfig(
  1. Configuration<ProjectListCommandOption> commandConfig
)
override

Runs this command with prepared configuration (options). Subclasses should override this method.

Implementation

@override
Future<void> runWithConfig(
  final Configuration<ProjectListCommandOption> commandConfig,
) async {
  final showArchived = commandConfig.value(ProjectListCommandOption.all);

  await ProjectCommands.listProjects(
    runner.serviceProvider.cloudApiClient,
    logger: logger,
    showArchived: showArchived,
  );
}