|
8 | 8 | from typing import TYPE_CHECKING |
9 | 9 | from typing import cast |
10 | 10 |
|
11 | | -from .commands.command import Command |
12 | | -from .commands.completions_command import CompletionsCommand |
13 | | -from .commands.help_command import HelpCommand |
14 | | -from .commands.list_command import ListCommand |
15 | | -from .events.console_command_event import ConsoleCommandEvent |
16 | | -from .events.console_error_event import ConsoleErrorEvent |
17 | | -from .events.console_events import COMMAND |
18 | | -from .events.console_events import ERROR |
19 | | -from .events.console_events import TERMINATE |
20 | | -from .events.console_terminate_event import ConsoleTerminateEvent |
21 | | -from .events.event_dispatcher import EventDispatcher |
22 | | -from .exceptions import CleoException |
23 | | -from .exceptions import CleoSimpleException |
24 | | -from .exceptions import CommandNotFoundException |
25 | | -from .exceptions import LogicException |
26 | | -from .exceptions import NamespaceNotFoundException |
27 | | -from .io.inputs.argument import Argument |
28 | | -from .io.inputs.argv_input import ArgvInput |
29 | | -from .io.inputs.definition import Definition |
30 | | -from .io.inputs.input import Input |
31 | | -from .io.inputs.option import Option |
32 | | -from .io.io import IO |
33 | | -from .io.outputs.output import Output |
34 | | -from .io.outputs.output import Verbosity |
35 | | -from .io.outputs.stream_output import StreamOutput |
36 | | -from .loaders.command_loader import CommandLoader |
37 | | -from .terminal import Terminal |
38 | | -from .ui.ui import UI |
| 11 | +from cleo.commands.command import Command |
| 12 | +from cleo.commands.completions_command import CompletionsCommand |
| 13 | +from cleo.commands.help_command import HelpCommand |
| 14 | +from cleo.commands.list_command import ListCommand |
| 15 | +from cleo.events.console_command_event import ConsoleCommandEvent |
| 16 | +from cleo.events.console_error_event import ConsoleErrorEvent |
| 17 | +from cleo.events.console_events import COMMAND |
| 18 | +from cleo.events.console_events import ERROR |
| 19 | +from cleo.events.console_events import TERMINATE |
| 20 | +from cleo.events.console_terminate_event import ConsoleTerminateEvent |
| 21 | +from cleo.events.event_dispatcher import EventDispatcher |
| 22 | +from cleo.exceptions import CleoException |
| 23 | +from cleo.exceptions import CleoSimpleException |
| 24 | +from cleo.exceptions import CommandNotFoundException |
| 25 | +from cleo.exceptions import LogicException |
| 26 | +from cleo.exceptions import NamespaceNotFoundException |
| 27 | +from cleo.io.inputs.argument import Argument |
| 28 | +from cleo.io.inputs.argv_input import ArgvInput |
| 29 | +from cleo.io.inputs.definition import Definition |
| 30 | +from cleo.io.inputs.input import Input |
| 31 | +from cleo.io.inputs.option import Option |
| 32 | +from cleo.io.io import IO |
| 33 | +from cleo.io.outputs.output import Output |
| 34 | +from cleo.io.outputs.output import Verbosity |
| 35 | +from cleo.io.outputs.stream_output import StreamOutput |
| 36 | +from cleo.loaders.command_loader import CommandLoader |
| 37 | +from cleo.terminal import Terminal |
| 38 | +from cleo.ui.ui import UI |
39 | 39 |
|
40 | 40 |
|
41 | 41 | if TYPE_CHECKING: |
@@ -603,7 +603,7 @@ def extract_namespace(self, name: str, limit: int | None = None) -> str: |
603 | 603 | return " ".join(parts) |
604 | 604 |
|
605 | 605 | def _get_default_ui(self) -> UI: |
606 | | - from .ui.progress_bar import ProgressBar |
| 606 | + from cleo.ui.progress_bar import ProgressBar |
607 | 607 |
|
608 | 608 | return UI([ProgressBar()]) |
609 | 609 |
|
|
0 commit comments