showHelp static method

void showHelp()

Implementation

static void showHelp() {
  stdout.writeln(
      '${Constants.createMessage} Flutter Base Kit - App template generator');
  stdout.writeln('');
  stdout.writeln('Usage: flutter_base_kit <command> [options]');
  stdout.writeln('');
  stdout.writeln('Commands:');
  stdout.writeln('  create <name>  Create new Flutter app from template');
  stdout.writeln('  init           Initialize current project with base kit');
  stdout.writeln('  module         Add API → Service → Cubit → Page module');
  stdout.writeln('');
  stdout.writeln('Options:');
  stdout.writeln('  -h, --help     Show this help message');
  stdout.writeln('  -v, --verbose  Enable verbose output');
  stdout.writeln(
      '  --org          Organization identifier (e.g., com.example)');
  stdout.writeln(
      '  --template     Template type: app, package, or package+tester');
  stdout.writeln('  --name         Module name for module command');
  stdout.writeln('');
  stdout.writeln('Examples:');
  stdout.writeln('  flutter_base_kit create my_app');
  stdout.writeln(
      '  flutter_base_kit create my_app --template app --org com.example');
  stdout.writeln('  flutter_base_kit create my_package --template package');
  stdout.writeln(
      '  flutter_base_kit create my_project --template package+tester');
  stdout.writeln('  flutter_base_kit module --name user');
}