printInitHelp function

void printInitHelp()

Prints help for the init command (init --help).

Implementation

void printInitHelp() {
  print('''
Usage: river_cli init [options]

Scaffolds commonly-used lib/ files, folders, and packages into a Flutter
project. "core" (entry point, routing, sample home feature) is always added.

Options:
  -a, --all              Include every optional module
      --minimal          Only the core module
  -m, --modules <a,b,c>  Include the listed modules (comma-separated)
  -y, --yes              Non-interactive; with no selection, includes all
  -f, --force            Overwrite files that already exist
      --no-pub-get       Do not run "flutter pub add"/"pub get"
  -l, --list             List available modules and exit
  -h, --help             Show this help and exit

Examples:
  river_cli init                       # interactive prompts
  river_cli init --all
  river_cli init --modules config,utils,widgets
  river_cli init --minimal --yes''');
}