cliJsonBodies top-level constant

Map<String, String> const cliJsonBodies

The keys each subcommand's --json document carries after command, as flutter3d help --surface prints them and api/flutter3d_build.cli commits them, so a key removed or renamed is a change somebody reviews. ? marks a key that may be absent; [...] a list of the object that follows.

Implementation

const Map<String, String> cliJsonBodies = <String, String>{
  'convert':
      '{output, dryRun, reports: [{input, format, outcome, error?, author?, '
      'license?, copyright?, written, mapped, dropped, warnings}]}',
  'doctor': '{checks: [{name, status, detail, fix?}]}',
  'plugins':
      '{check, path, current? (with --check), written? (without), '
      'plugins: [{package, import, class}], excluded: [{package, import, '
      'class}], warnings}',
  'shaders':
      '{ran, written, bytes, full, needs, stages, totalStages, materials}',
};