pub fn run() -> Result<()>Expand description
Downloads static asset directories from the pinned Plato release.
Checks .cache/plato-assets/<version>/ first. If the cache directory
already contains all required asset directories, they are copied from there
without hitting the network. Otherwise the release zip is downloaded,
the directories are extracted into the cache, and then copied to the
workspace root.
Workspace-level directories that already exist are left untouched.
ยงErrors
Returns an error if the GitHub API request fails, the download fails, or extraction fails.