(args: SetupArgs, setup_cache_dir: Option<&Path>)
| 34 | } |
| 35 | |
| 36 | pub async fn run(args: SetupArgs, setup_cache_dir: Option<&Path>) -> Result<()> { |
| 37 | match args.command { |
| 38 | Some(SetupCommands::Status) => status(&args.mode), |
| 39 | None => setup(&args.mode, setup_cache_dir).await, |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | /// Resolve the executors to operate on from the requested modes. |
| 44 | /// |