You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/cli.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -136,7 +136,7 @@ uv run [OPTIONS] [COMMAND]
136
136
<p>Accepts both RFC 3339 timestamps (e.g., <code>2006-12-02T02:07:43Z</code>) and local dates in the same format (e.g., <code>2006-12-02</code>) in your system’s configured time zone.</p>
137
137
138
138
<p>May also be set with the <code>UV_EXCLUDE_NEWER</code> environment variable.</p>
139
-
</dd><dt><code>--extra</code> <i>extra</i></dt><dd><p>Include optional dependencies from the extra group name.</p>
139
+
</dd><dt><code>--extra</code> <i>extra</i></dt><dd><p>Include optional dependencies from the specified extra name.</p>
<p>To add this dependency to an optional group in the current project instead, see <code>--optional</code>.</p>
746
+
<p>To add this dependency to an optional extra instead, see <code>--optional</code>.</p>
747
747
748
748
</dd><dt><code>--extra-index-url</code> <i>extra-index-url</i></dt><dd><p>(Deprecated: use <code>--index</code> instead) Extra URLs of package indexes to use, in addition to <code>--index-url</code>.</p>
<p>When disabled, uv will only use locally cached data and locally available files.</p>
888
888
889
-
</dd><dt><code>--optional</code> <i>optional</i></dt><dd><p>Add the requirements to the specified optional dependency group.</p>
889
+
</dd><dt><code>--optional</code> <i>optional</i></dt><dd><p>Add the requirements to the package’s optional dependencies for the specified extra.</p>
890
890
891
891
<p>The group may then be activated when installing the project with the <code>--extra</code> flag.</p>
892
892
893
-
<p>To enable an optional dependency group for this requirement instead, see <code>--extra</code>.</p>
893
+
<p>To enable an optional extra for this requirement instead, see <code>--extra</code>.</p>
894
894
895
895
</dd><dt><code>--package</code> <i>package</i></dt><dd><p>Add the dependency to a specific package in the workspace</p>
<p>When disabled, uv will only use locally cached data and locally available files.</p>
1224
1224
1225
-
</dd><dt><code>--optional</code> <i>optional</i></dt><dd><p>Remove the packages from the specified optional dependency group</p>
1225
+
</dd><dt><code>--optional</code> <i>optional</i></dt><dd><p>Remove the packages from the project’s optional dependencies for the specified extra</p>
1226
1226
1227
1227
</dd><dt><code>--package</code> <i>package</i></dt><dd><p>Remove the dependencies from a specific package in the workspace</p>
1228
1228
@@ -1401,7 +1401,7 @@ uv sync [OPTIONS]
1401
1401
<p>Accepts both RFC 3339 timestamps (e.g., <code>2006-12-02T02:07:43Z</code>) and local dates in the same format (e.g., <code>2006-12-02</code>) in your system’s configured time zone.</p>
1402
1402
1403
1403
<p>May also be set with the <code>UV_EXCLUDE_NEWER</code> environment variable.</p>
1404
-
</dd><dt><code>--extra</code> <i>extra</i></dt><dd><p>Include optional dependencies from the extra group name.</p>
1404
+
</dd><dt><code>--extra</code> <i>extra</i></dt><dd><p>Include optional dependencies from the specified extra name.</p>
1405
1405
1406
1406
<p>May be provided more than once.</p>
1407
1407
@@ -2029,7 +2029,7 @@ uv export [OPTIONS]
2029
2029
<p>Accepts both RFC 3339 timestamps (e.g., <code>2006-12-02T02:07:43Z</code>) and local dates in the same format (e.g., <code>2006-12-02</code>) in your system’s configured time zone.</p>
2030
2030
2031
2031
<p>May also be set with the <code>UV_EXCLUDE_NEWER</code> environment variable.</p>
2032
-
</dd><dt><code>--extra</code> <i>extra</i></dt><dd><p>Include optional dependencies from the extra group name.</p>
2032
+
</dd><dt><code>--extra</code> <i>extra</i></dt><dd><p>Include optional dependencies from the specified extra name.</p>
<p>Accepts both RFC 3339 timestamps (e.g., <code>2006-12-02T02:07:43Z</code>) and local dates in the same format (e.g., <code>2006-12-02</code>) in your system’s configured time zone.</p>
4952
4952
4953
4953
<p>May also be set with the <code>UV_EXCLUDE_NEWER</code> environment variable.</p>
4954
-
</dd><dt><code>--extra</code> <i>extra</i></dt><dd><p>Include optional dependencies from the extra group name; may be provided more than once.</p>
4954
+
</dd><dt><code>--extra</code> <i>extra</i></dt><dd><p>Include optional dependencies from the specified extra name; may be provided more than once.</p>
4955
4955
4956
4956
<p>Only applies to <code>pyproject.toml</code>, <code>setup.py</code>, and <code>setup.cfg</code> sources.</p>
<p>Accepts both RFC 3339 timestamps (e.g., <code>2006-12-02T02:07:43Z</code>) and local dates in the same format (e.g., <code>2006-12-02</code>) in your system’s configured time zone.</p>
5716
5716
5717
5717
<p>May also be set with the <code>UV_EXCLUDE_NEWER</code> environment variable.</p>
5718
-
</dd><dt><code>--extra</code> <i>extra</i></dt><dd><p>Include optional dependencies from the extra group name; may be provided more than once.</p>
5718
+
</dd><dt><code>--extra</code> <i>extra</i></dt><dd><p>Include optional dependencies from the specified extra name; may be provided more than once.</p>
5719
5719
5720
5720
<p>Only applies to <code>pyproject.toml</code>, <code>setup.py</code>, and <code>setup.cfg</code> sources.</p>
0 commit comments