Coverage for /home/runner/work/bijux-cli/bijux-cli/src/bijux_cli/core/__init__.py: 100%
7 statements
« prev ^ index » next coverage.py v7.10.4, created at 2025-08-19 23:36 +0000
« prev ^ index » next coverage.py v7.10.4, created at 2025-08-19 23:36 +0000
1# SPDX-License-Identifier: MIT
2# Copyright © 2025 Bijan Mousavi
4"""Provides the public API for the Bijux CLI's core components.
6This module acts as the public facade for the most essential classes and
7exceptions defined within the `bijux_cli.core` package. It aggregates these
8components into a single, stable namespace for convenient importing throughout
9the application.
11By exposing these fundamental building blocks here, the rest of the application
12can remain decoupled from the internal structure of the `core` package.
14The exposed components include:
15* **Core Services:** `DIContainer`, `Engine`, `Context`.
16* **Enumerations:** `OutputFormat`.
17* **Custom Exceptions:** `BijuxError`, `CommandError`, `ConfigError`, etc.
18"""
20from __future__ import annotations
22from bijux_cli.core.context import Context
23from bijux_cli.core.di import DIContainer
24from bijux_cli.core.engine import Engine
25from bijux_cli.core.enums import OutputFormat
26from bijux_cli.core.exceptions import (
27 BijuxError,
28 CliTimeoutError,
29 CommandError,
30 ConfigError,
31 ValidationError,
32)
34__all__ = [
35 "Context",
36 "DIContainer",
37 "Engine",
38 "OutputFormat",
39 "BijuxError",
40 "CliTimeoutError",
41 "CommandError",
42 "ConfigError",
43 "ValidationError",
44]