-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
enhancementNew feature or improvement to existing functionalityNew feature or improvement to existing functionality
Description
(Opened as per the suggestion here. Part of #411 and #3199.)
Currently, uv sync --dry-run --script foo.py would output something like this:
Would create script environment at: [...]/uv/cache/environments-v2/foo-[...]
I'm interested in the path itself. Extracting it from the plain text output is rather inconvenient, however. A --format=json option could help with this.
An example output might look like:
{
"environment": "[...]/uv/cache/environments-v2/foo-[...]",
"executable": "[...]/uv/cache/environments-v2/foo-[...]/bin/python",
"exist": false
}This format, obviously, needs some design.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvement to existing functionalityNew feature or improvement to existing functionality