INNER CODE UNIT · Python

show_version

softaworks/agent-toolkit · scripts/bump_version.py:96

def show_version() -> None:
    """Show current version."""
    root = get_root()
    marketplace_path = root / ".claude-plugin" / "marketplace.json"

    if marketplace_path.exists():
        marketplace = load_json(marketplace_path)
        version = marketplace.get("metadata", {}).get("version", "unknown")
        print(f"Current version: {version}")
    else:
        print("✗ marketplace.json not found")
        sys.exit(1)


def main():
    parser = argparse.ArgumentParser(
        description="Bump agent-skills plugin version",
        formatter_class=argparse.RawDescriptionHelpFormatter,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…