-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
enhancementNew feature or improvement to existing functionalityNew feature or improvement to existing functionalitygood first issueGood for newcomersGood for newcomers
Description
Summary
I often use imperative commands as part of a script, e.g. uv pip, uv venv.
I therefore want them to fail with a non-zero status code when they can't complete an action.
But it appears uv venv only has two options when the directory it's writing to is non-empty:
- Automatically delete everything in the directory,
- Prompt for user interaction.
But I want uv venv to fail without user prompt, is that currently possible? I don't see an option.
Example
cd /
uv venv .Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvement to existing functionalityNew feature or improvement to existing functionalitygood first issueGood for newcomersGood for newcomers