uv/docs
Mikayla Thompson b81060674e
`workspace dir` command (#16678)
Addresses https://github.com/astral-sh/uv/issues/13636

Prints the path to the workspace root by default, and any of the child
packages if requested.

I looped it into the same preview flag as `workspace metadata`, given
how closely related they are.

## Summary

```
─> uv workspace dir
/Users/mikayla/code/uv/dev-envs

─> uv workspace dir --package foo-proj
/Users/mikayla/code/uv/dev-envs/foo-proj

─> uv workspace dir --package bar-proj
error: Package `bar-proj` not found in workspace.
```

## Test Plan

Unit tests added.

---------

Signed-off-by: Mikayla Thompson <mrt@mikayla.codes>
Co-authored-by: Zanie Blue <contact@zanie.dev>
2025-11-11 12:30:39 -07:00
..
.overrides Add ``last updated`` for document (#11164) 2025-02-03 22:28:47 -05:00
assets Add GitHub Actions to PyPI trusted publishing example (#15753) 2025-09-17 19:25:17 +02:00
concepts `workspace dir` command (#16678) 2025-11-11 12:30:39 -07:00
getting-started Bump version to 0.9.8 (#16636) 2025-11-07 11:45:22 -06:00
guides Allow explicit values with `uv version --bump` (#16555) 2025-11-11 12:27:32 -05:00
js Split the "Authentication" page into sections (#15575) 2025-08-28 15:45:31 -05:00
pip Note `uv pip list` name normalization in docs (#13210) 2025-11-02 20:39:30 +00:00
reference Allow explicit values with `uv version --bump` (#16555) 2025-11-11 12:27:32 -05:00
stylesheets document uv version for environment variables (#15196) 2025-10-08 12:31:12 -05:00
.gitignore Add structured documentation (#4426) 2024-06-26 11:28:42 -05:00
index.md Fix PowerShell code blocks (#13511) 2025-05-17 21:06:48 -05:00
requirements-insiders.in Reference the root requirements from the insiders requirements file (#5105) 2024-07-16 09:51:16 -05:00
requirements-insiders.txt Add an `llms.txt` to uv (#13929) 2025-06-10 07:46:49 -04:00
requirements.in Add an `llms.txt` to uv (#13929) 2025-06-10 07:46:49 -04:00
requirements.txt Add an `llms.txt` to uv (#13929) 2025-06-10 07:46:49 -04:00