Skip to content

Commit f8cbb9c

Browse files
authored
export does not need a virtual environment (#106)
1 parent 37f083f commit f8cbb9c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/poetry_plugin_export/command.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
from __future__ import annotations
22

33
from cleo.helpers import option
4-
from poetry.console.commands.installer_command import InstallerCommand
4+
from poetry.console.commands.group_command import GroupCommand
55
from poetry.core.packages.dependency_group import MAIN_GROUP
66

77
from poetry_plugin_export.exporter import Exporter
88

99

10-
class ExportCommand(InstallerCommand):
10+
class ExportCommand(GroupCommand):
1111
name = "export"
1212
description = "Exports the lock file to alternative formats."
1313

@@ -31,7 +31,7 @@ class ExportCommand(InstallerCommand):
3131
None,
3232
"Include development dependencies. (<warning>Deprecated</warning>)",
3333
),
34-
*InstallerCommand._group_dependency_options(),
34+
*GroupCommand._group_dependency_options(),
3535
option(
3636
"extras",
3737
"E",

0 commit comments

Comments
 (0)