run method

  1. @override
Future<void> run(
  1. List<String> args
)
override

Executes the command using the provided command-line args.

Implementation

@override
Future<void> run(List<String> args) async {
  LoggerService.section(
    'Validating project',
  );

  final config = await ConfigService.load();

  InitValidator.validate(
    config,
  );

  LoggerService.blank();

  LoggerService.success(
    'Project validation complete.',
  );

  LoggerService.blank();
}