mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Add --group
, --only-group
, and --only-dev
support to uv tree
(#8338)
Part of #8090 Most of the heavy lifting is done in #8309 Includes `--only-dev` which appears to be missing as an oversight.
This commit is contained in:
parent
a71a0674f0
commit
1bee82329c
5 changed files with 128 additions and 12 deletions
|
@ -2393,6 +2393,10 @@ uv tree [OPTIONS]
|
|||
<p>If the lockfile is missing, uv will exit with an error.</p>
|
||||
|
||||
<p>May also be set with the <code>UV_FROZEN</code> environment variable.</p>
|
||||
</dd><dt><code>--group</code> <i>group</i></dt><dd><p>Include dependencies from the specified local dependency group.</p>
|
||||
|
||||
<p>May be provided multiple times.</p>
|
||||
|
||||
</dd><dt><code>--help</code>, <code>-h</code></dt><dd><p>Display the concise help for this command</p>
|
||||
|
||||
</dd><dt><code>--index</code> <i>index</i></dt><dd><p>The URLs to use when resolving dependencies, in addition to the default index.</p>
|
||||
|
@ -2516,6 +2520,16 @@ uv tree [OPTIONS]
|
|||
|
||||
<p>When disabled, uv will only use locally cached data and locally available files.</p>
|
||||
|
||||
</dd><dt><code>--only-dev</code></dt><dd><p>Omit non-development dependencies.</p>
|
||||
|
||||
<p>The project itself will also be omitted.</p>
|
||||
|
||||
</dd><dt><code>--only-group</code> <i>only-group</i></dt><dd><p>Only include dependencies from the specified local dependency group.</p>
|
||||
|
||||
<p>May be provided multiple times.</p>
|
||||
|
||||
<p>The project itself will also be omitted.</p>
|
||||
|
||||
</dd><dt><code>--package</code> <i>package</i></dt><dd><p>Display only the specified packages</p>
|
||||
|
||||
</dd><dt><code>--prerelease</code> <i>prerelease</i></dt><dd><p>The strategy to use when considering pre-release versions.</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue