Reads and validates the export schema. Mismatched scoop_export_version
produces a clear EXPORT_UNSUPPORTED_VERSION error pointing at upgrade
guidance instead of trying to limp on.
Applies --name override (if any) and validates the resulting name.
If the target env already exists: errors out unless --force is set, in
which case the existing env is removed first.
Auto-installs the requested Python if it isn’t already available via uv
(matches the ergonomics of scoop sync).
Creates the env, then uv pip installs every pinned package
(name==version) in one shot.
# Plain file -> recreates with the schema's original name
scoop import myenv.json
# Pipe from a sibling machine
ssh other 'scoop export myenv' | scoop import -
# Rename on the fly + overwrite if it already exists
scoop import myenv.json --name myenv-2 --force
# Machine-readable summary for CI
scoop import myenv.json --json