(raw: &str)
| 433 | #[arg(long)] |
| 434 | json: bool, |
| 435 | } |
| 436 | |
| 437 | #[derive(Subcommand, Debug)] |
| 438 | enum AdapterSubcommand { |
| 439 | /// Build and install the adapter for a given Dart snapshot hash |
| 440 | Install(AdapterInstallCmd), |
| 441 | /// List known adapters and whether each is installed |
| 442 | List, |
| 443 | } |
| 444 | |
| 445 | #[derive(Args, Debug)] |
| 446 | struct AdapterInstallCmd { |
| 447 | /// Dart snapshot hash, as reported by `flutterdec info` |
| 448 | #[arg(long = "dart-hash", value_name = "HASH")] |
| 449 | dart_hash: String, |
| 450 | } |
nothing calls this directly
no test coverage detected