Skip to content

Commit 92ead62

Browse files
Add documentation note
Signed-off-by: Mikayla Thompson <[email protected]>
1 parent 7f6e0f1 commit 92ead62

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/concepts/projects/init.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ flag can be used to create a project for a library instead.
99
## Target directory
1010

1111
uv will create a project in the working directory, or, in a target directory by providing a name,
12-
e.g., `uv init foo`. If there's already a project in the target directory, i.e., if there's a
13-
`pyproject.toml`, uv will exit with an error.
12+
e.g., `uv init foo`. The working directory can be modified with the `--directory` option, which will
13+
cause the target directory path will be interpreted relative to the specified working directory. If
14+
there's already a project in the target directory, i.e., if there's a `pyproject.toml`, uv will exit
15+
with an error.
1416

1517
## Applications
1618

0 commit comments

Comments
 (0)