mirror of
https://github.com/MinaSaad1/pbi-cli
synced 2026-04-21 13:37:19 +00:00
fix: show skill install success before connection attempt
Print success message for skills and CLAUDE.md injection before auto-discovery, so users see what succeeded even if Power BI Desktop is not running. Bump version to 3.10.1.
This commit is contained in:
parent
fd3b33bcc0
commit
50e28a52c4
3 changed files with 5 additions and 3 deletions
|
|
@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|||
|
||||
[project]
|
||||
name = "pbi-cli-tool"
|
||||
version = "3.10.0"
|
||||
version = "3.10.1"
|
||||
description = "CLI for Power BI semantic models and PBIR reports - direct .NET connection for token-efficient AI agent usage"
|
||||
readme = "README.pypi.md"
|
||||
license = {text = "MIT"}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
"""pbi-cli: CLI for Power BI semantic models via direct .NET interop."""
|
||||
|
||||
__version__ = "3.10.0"
|
||||
__version__ = "3.10.1"
|
||||
|
|
|
|||
|
|
@ -200,6 +200,7 @@ def _ensure_ready() -> None:
|
|||
any_missing = any(not (SKILLS_TARGET_DIR / name / "SKILL.md").exists() for name in bundled)
|
||||
if bundled and any_missing:
|
||||
print_info("Installing Claude Code skills...")
|
||||
installed = 0
|
||||
for name, source in sorted(bundled.items()):
|
||||
target_dir = SKILLS_TARGET_DIR / name
|
||||
if (target_dir / "SKILL.md").exists():
|
||||
|
|
@ -208,6 +209,7 @@ def _ensure_ready() -> None:
|
|||
source_file = source / "SKILL.md"
|
||||
target_file = target_dir / "SKILL.md"
|
||||
target_file.write_text(source_file.read_text(encoding="utf-8"), encoding="utf-8")
|
||||
print_info("Skills installed.")
|
||||
installed += 1
|
||||
print_success(f"{installed} Claude Code skills installed to ~/.claude/skills/")
|
||||
|
||||
ensure_claude_md_snippet()
|
||||
|
|
|
|||
Loading…
Reference in a new issue