We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
init
new
1 parent b9e5d79 commit 17db1daCopy full SHA for 17db1da
src/poetry/console/commands/new.py
@@ -75,7 +75,7 @@ def handle(self) -> int:
75
if path.exists() and list(path.glob("*")):
76
# Directory is not empty. Aborting.
77
raise RuntimeError(
78
- f"Destination <fg=yellow>{path}</> exists and is not empty"
+ f"Destination <fg=yellow>{path}</> exists and is not empty. Did you mean `poetry init`?"
79
)
80
81
if self.option("src"):
0 commit comments