Coverage for /home/runner/work/bijux-cli/bijux-cli/src/bijux_cli/core/paths.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"""Defines core paths for the Bijux CLI's persistent files.
6This module centralizes the default filesystem locations for all user-specific
7data, such as configuration, command history, and plugins. This provides a
8single source of truth for file paths and simplifies management of persistent
9state. All paths are relative to the user's home directory within a `.bijux`
10folder.
11"""
13from __future__ import annotations
15from pathlib import Path
17BIJUX_HOME = Path.home() / ".bijux"
18CONFIG_FILE = BIJUX_HOME / ".env"
19HISTORY_FILE = BIJUX_HOME / ".history"
20MEMORY_FILE = BIJUX_HOME / ".memory.json"
21PLUGINS_DIR = BIJUX_HOME / ".plugins"