xenfra 0.2.6__py3-none-any.whl → 0.2.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
xenfra/main.py
CHANGED
|
@@ -5,8 +5,10 @@ A modern, AI-powered CLI for deploying Python apps to DigitalOcean.
|
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
7
|
import os
|
|
8
|
+
from pathlib import Path
|
|
8
9
|
|
|
9
10
|
import click
|
|
11
|
+
from dotenv import load_dotenv
|
|
10
12
|
from rich.console import Console
|
|
11
13
|
|
|
12
14
|
from .commands.auth import auth
|
|
@@ -17,6 +19,11 @@ from .commands.security_cmd import security
|
|
|
17
19
|
|
|
18
20
|
console = Console()
|
|
19
21
|
|
|
22
|
+
# Load .env file from project root (searches parent directories)
|
|
23
|
+
# This allows CLI to use XENFRA_API_URL and other vars from .env
|
|
24
|
+
load_dotenv(dotenv_path=Path.cwd() / ".env", override=False)
|
|
25
|
+
load_dotenv(override=False) # Also check current directory and parents
|
|
26
|
+
|
|
20
27
|
|
|
21
28
|
@click.group()
|
|
22
29
|
@click.version_option(version="0.2.3")
|
|
@@ -5,14 +5,14 @@ xenfra/commands/deployments.py,sha256=-185BevHVrUT-LAU2k_uZNpKJPCcwpCDEHOFPfD0Wm
|
|
|
5
5
|
xenfra/commands/intelligence.py,sha256=w8GxwGu63KQ5fwhPpTNTDeW1Xg5g3aFzzIBuP_CeRQo,13541
|
|
6
6
|
xenfra/commands/projects.py,sha256=O2tG--iDWN5oCcHOv1jp88kl9bAK61oGRCLJ60M0b7E,6492
|
|
7
7
|
xenfra/commands/security_cmd.py,sha256=MJxbjQksKrtRn21FSAhTY3ESn_S_tUCGfdNRWL7kNsc,7094
|
|
8
|
-
xenfra/main.py,sha256=
|
|
8
|
+
xenfra/main.py,sha256=KLIqdvMpo2ahoz_vnoxq9yPwOJhnyRJKQ4pDgr4FovY,2110
|
|
9
9
|
xenfra/utils/__init__.py,sha256=57o8j7Tibrhyid84zTFLHjFmRP5sCnNbtLEfpRqIpMk,42
|
|
10
10
|
xenfra/utils/auth.py,sha256=oDxDiIWC9851fu_gL-7TVJ60uJT3sZ_DvMIy69SUAEM,8308
|
|
11
11
|
xenfra/utils/codebase.py,sha256=vx-1pMpnefPJ_Xy1UoH7wgHJ2c5ZAsVX1g1IXAfkI28,4018
|
|
12
12
|
xenfra/utils/config.py,sha256=6A6WAggaH2Rco4RJydALxcKteOzXLCKDV0ZxjHhAJHk,11584
|
|
13
13
|
xenfra/utils/security.py,sha256=IR_Hzgfc4KeT-qr2LVBxSvBTO4AP4MCkIlU47_yKN_0,11947
|
|
14
14
|
xenfra/utils/validation.py,sha256=6mGC5CqAbx-CBp06omWLBpKjnEWXsEzlYWq71wjDeX8,6678
|
|
15
|
-
xenfra-0.2.
|
|
16
|
-
xenfra-0.2.
|
|
17
|
-
xenfra-0.2.
|
|
18
|
-
xenfra-0.2.
|
|
15
|
+
xenfra-0.2.7.dist-info/WHEEL,sha256=ZyFSCYkV2BrxH6-HRVRg3R9Fo7MALzer9KiPYqNxSbo,79
|
|
16
|
+
xenfra-0.2.7.dist-info/entry_points.txt,sha256=a_2cGhYK__X6eW05Ba8uB6RIM_61c2sHtXsPY8N0mic,45
|
|
17
|
+
xenfra-0.2.7.dist-info/METADATA,sha256=6BeWMSpOmcy-enLutVCeq8XOR0MfuRJRaz4gEbSD_bA,3751
|
|
18
|
+
xenfra-0.2.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|