We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
poetry env activate
1 parent ab5afb9 commit 5209ca6Copy full SHA for 5209ca6
src/poetry/console/commands/env/activate.py
@@ -6,7 +6,7 @@
6
7
import shellingham
8
9
-from poetry.console.commands.command import Command
+from poetry.console.commands.env_command import EnvCommand
10
from poetry.utils._compat import WINDOWS
11
12
@@ -18,7 +18,7 @@ class ShellNotSupportedError(Exception):
18
"""Raised when a shell doesn't have an activator in virtual environment"""
19
20
21
-class EnvActivateCommand(Command):
+class EnvActivateCommand(EnvCommand):
22
name = "env activate"
23
description = "Print the command to activate a virtual environment."
24
0 commit comments