astral-sh / uv

An extremely fast Python package and project manager, written in Rust.
https://docs.astral.sh/uv
Apache License 2.0
19.93k stars 591 forks source link

Allow `uv add --workspace <path>` #5386

Open zanieb opened 1 month ago

zanieb commented 1 month ago

e.g. uv add [<package>] --workspace <path> to add a workspace member.

We may want to consider an alternative option name, e.g. --workspace-member? Is this just a case of #5385 in a workspace?

Part of https://github.com/astral-sh/uv/issues/5381

chrisrodrigue commented 1 month ago

Could a workspace be a remote git repo or does that path need to be a local directory/submodule?