mirror of
https://github.com/astral-sh/uv
synced 2026-01-21 21:40:11 -05:00
Add uv sync --check flag (#12342)
## Summary Closes #12338 ## Test Plan `cargo test` --------- Co-authored-by: Zanie Blue <contact@zanie.dev>
This commit is contained in:
@@ -1513,6 +1513,10 @@ uv sync [OPTIONS]
|
||||
<p>To view the location of the cache directory, run <code>uv cache dir</code>.</p>
|
||||
|
||||
<p>May also be set with the <code>UV_CACHE_DIR</code> environment variable.</p>
|
||||
</dd><dt id="uv-sync--check"><a href="#uv-sync--check"><code>--check</code></a></dt><dd><p>Check if the Python environment is synchronized with the project.</p>
|
||||
|
||||
<p>If the environment is not up to date, uv will exit with an error.</p>
|
||||
|
||||
</dd><dt id="uv-sync--color"><a href="#uv-sync--color"><code>--color</code></a> <i>color-choice</i></dt><dd><p>Control the use of color in output.</p>
|
||||
|
||||
<p>By default, uv will automatically detect support for colors when writing to a terminal.</p>
|
||||
|
||||
Reference in New Issue
Block a user