migrateUsage top-level constant

String const migrateUsage

What flutter3d help migrate prints.

Implementation

const String migrateUsage = '''
Moves a project written against an earlier flutter3d (0.8 or later) to
this release, through every migration table after the one it is on.

  dart pub global run flutter3d_build:migrate [options] <project dir>

  --dry-run           change a copy beside the project, report, remove it
  --data              lift the data files to the versions this build
                      writes, in place, instead of migrating the code;
                      reports `file: vN → vM` and what was not carried over
  --backup            with --data, keep each file as it was as
                      <file>.v<N>.bak
  --from <version>    the release the project is on (default: what its
                      pubspec.lock resolves); every table after it applies
  --no-pub-get        only the pubspec and the imports
  --lints-from <dir>  run flutter3d_lints:migrate from that checkout

Exit codes: 0 migrated, or nothing to migrate; 1 the directory has no
pubspec.yaml, or a step failed; 2 usage.
''';