baucli 1.0.4__tar.gz → 1.0.5__tar.gz

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.
Files changed (34) hide show
  1. {baucli-1.0.4 → baucli-1.0.5}/PKG-INFO +1 -1
  2. {baucli-1.0.4 → baucli-1.0.5}/baucli/__init__.py +1 -1
  3. {baucli-1.0.4 → baucli-1.0.5}/baucli/cli.py +13 -3
  4. {baucli-1.0.4 → baucli-1.0.5}/baucli.egg-info/PKG-INFO +1 -1
  5. {baucli-1.0.4 → baucli-1.0.5}/setup.py +1 -1
  6. {baucli-1.0.4 → baucli-1.0.5}/README.md +0 -0
  7. {baucli-1.0.4 → baucli-1.0.5}/baucli/apex_rebuild.py +0 -0
  8. {baucli-1.0.4 → baucli-1.0.5}/baucli/apexlang.py +0 -0
  9. {baucli-1.0.4 → baucli-1.0.5}/baucli/api.py +0 -0
  10. {baucli-1.0.4 → baucli-1.0.5}/baucli/config.py +0 -0
  11. {baucli-1.0.4 → baucli-1.0.5}/baucli/db/__init__.py +0 -0
  12. {baucli-1.0.4 → baucli-1.0.5}/baucli/db/mssql.py +0 -0
  13. {baucli-1.0.4 → baucli-1.0.5}/baucli/db/mysql.py +0 -0
  14. {baucli-1.0.4 → baucli-1.0.5}/baucli/db/oracle.py +0 -0
  15. {baucli-1.0.4 → baucli-1.0.5}/baucli/db/postgresql.py +0 -0
  16. {baucli-1.0.4 → baucli-1.0.5}/baucli/docmig.py +0 -0
  17. {baucli-1.0.4 → baucli-1.0.5}/baucli/git.py +0 -0
  18. {baucli-1.0.4 → baucli-1.0.5}/baucli/legacy/__init__.py +0 -0
  19. {baucli-1.0.4 → baucli-1.0.5}/baucli/legacy/delphi.py +0 -0
  20. {baucli-1.0.4 → baucli-1.0.5}/baucli/mcp_server.py +0 -0
  21. {baucli-1.0.4 → baucli-1.0.5}/baucli/project.py +0 -0
  22. {baucli-1.0.4 → baucli-1.0.5}/baucli/rag_embed.py +0 -0
  23. {baucli-1.0.4 → baucli-1.0.5}/baucli/sample_scan.py +0 -0
  24. {baucli-1.0.4 → baucli-1.0.5}/baucli/scope_scan.py +0 -0
  25. {baucli-1.0.4 → baucli-1.0.5}/baucli/screenshot.py +0 -0
  26. {baucli-1.0.4 → baucli-1.0.5}/baucli/seed_check.py +0 -0
  27. {baucli-1.0.4 → baucli-1.0.5}/baucli/stress.py +0 -0
  28. {baucli-1.0.4 → baucli-1.0.5}/baucli/sync.py +0 -0
  29. {baucli-1.0.4 → baucli-1.0.5}/baucli.egg-info/SOURCES.txt +0 -0
  30. {baucli-1.0.4 → baucli-1.0.5}/baucli.egg-info/dependency_links.txt +0 -0
  31. {baucli-1.0.4 → baucli-1.0.5}/baucli.egg-info/entry_points.txt +0 -0
  32. {baucli-1.0.4 → baucli-1.0.5}/baucli.egg-info/requires.txt +0 -0
  33. {baucli-1.0.4 → baucli-1.0.5}/baucli.egg-info/top_level.txt +0 -0
  34. {baucli-1.0.4 → baucli-1.0.5}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: baucli
3
- Version: 1.0.4
3
+ Version: 1.0.5
4
4
  Summary: BAUCLI — AI-powered database documentation CLI for BAU
5
5
  Home-page: https://www.begcloud.com
6
6
  Author: BEG Support
@@ -3,6 +3,6 @@
3
3
  import warnings
4
4
  warnings.filterwarnings("ignore", message="urllib3 v2 only supports OpenSSL")
5
5
 
6
- __version__ = "1.0.4"
6
+ __version__ = "1.0.5"
7
7
  __product__ = "BAUCLI"
8
8
  __author__ = "BEG Support"
@@ -87,11 +87,21 @@ def show_db_panel(title: str, db_name: str = None, db_config: dict = None,
87
87
  if uuid != "—":
88
88
  lines.append(f" BAU UUID: {uuid}")
89
89
  else:
90
- if cfg.get("license_key"):
91
- lines.append(f" License: [cyan]{cfg['license_key']}[/cyan]")
90
+ _lic = cfg.get("license_key")
91
+ if _lic and str(_lic).strip().upper() not in ("NONE", "-", "—"):
92
+ lines.append(f" License: [cyan]{_lic}[/cyan]")
92
93
  lines.append(f" Server: {cfg.get('api_url', '—')}")
93
94
  lines.append(f" Tenant: {cfg.get('tenant_code', '—')}")
94
- lines.append(f" Language: [cyan]{cfg.get('language') or 'en_US (default)'}[/cyan]")
95
+ # Idioma efetivo: [project].language do bau.toml vence o config do home.
96
+ _lang = cfg.get("language")
97
+ try:
98
+ from baucli.project import find_project as _fp
99
+ _pj = _fp()
100
+ if _pj and _pj.language:
101
+ _lang = _pj.language
102
+ except Exception:
103
+ pass
104
+ lines.append(f" Language: [cyan]{_lang or 'en_US (default)'}[/cyan]")
95
105
 
96
106
  if extra_lines:
97
107
  lines.append("")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: baucli
3
- Version: 1.0.4
3
+ Version: 1.0.5
4
4
  Summary: BAUCLI — AI-powered database documentation CLI for BAU
5
5
  Home-page: https://www.begcloud.com
6
6
  Author: BEG Support
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="baucli",
5
- version="1.0.4",
5
+ version="1.0.5",
6
6
  description="BAUCLI — AI-powered database documentation CLI for BAU",
7
7
  long_description=open("README.md").read(),
8
8
  long_description_content_type="text/markdown",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes