fn transform_commands( manifest: &Manifest, base_dir: &Path, ) -> Result<IndexMap<String, Command>, ManifestError>