types method

  1. @cliCommand
Future<void> types()

List supported project types

Implementation

@cliCommand
Future<void> types() async {
  print('\nSupported Project Types:');
  print('\u2500' * 60);

  for (final type in ProjectType.values) {
    if (type == ProjectType.auto) continue;

    final config = LanguageConfig.forType(type);
    final exts = config.extensions.join(', ');
    print('  ${type.name.padRight(12)} - $exts');
  }

  print('\u2500' * 60);
  info('Use --type <name> to specify a project type');
  info('Use "auto" to auto-detect based on project files');
}