Skip to content

Commit 69c9762

Browse files
committed
add "experimental feature" notice also in CLI help
1 parent a5c68a8 commit 69c9762

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

docs/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ poetry python install <PYTHON_VERSION>
754754
### python list
755755

756756
The `python list` command shows Python versions available in the environment. This includes both installed and
757-
discovered System Managed and Poetry Managed installations.
757+
discovered System managed and Poetry managed installations.
758758

759759
```bash
760760
poetry python list

src/poetry/console/commands/python/install.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ class PythonInstallCommand(Command):
4646
),
4747
]
4848

49-
description = "Install the specified Python version from the Python Standalone Builds project."
49+
description = (
50+
"Install the specified Python version from the Python Standalone Builds project."
51+
" (<warning>experimental feature</warning>)"
52+
)
5053

5154
def handle(self) -> int:
5255
request = self.argument("python")

src/poetry/console/commands/python/list.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ class PythonListCommand(Command):
4040
option("managed", "m", "List only Poetry managed Python versions.", flag=True),
4141
]
4242

43-
description = "Shows Python versions available for this environment."
43+
description = (
44+
"Shows Python versions available for this environment."
45+
" (<warning>experimental feature</warning>)"
46+
)
4447

4548
def handle(self) -> int:
4649
rows: list[PythonInfo] = []

src/poetry/console/commands/python/remove.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ class PythonRemoveCommand(Command):
3636
),
3737
]
3838

39-
description = "Remove the specified Python version if managed by Poetry."
39+
description = (
40+
"Remove the specified Python version if managed by Poetry."
41+
" (<warning>experimental feature</warning>)"
42+
)
4043

4144
@staticmethod
4245
def remove_python_installation(request: str, implementation: str, io: IO) -> int:

0 commit comments

Comments
 (0)