Christoph
  • Joined on 2024-07-25

jpm (0.1.1)

Published 2026-02-13 11:55:21 +00:00 by Christoph in Christoph/jpm

Installation

pip install --index-url https://git.cbsk-tech.de/api/packages/Christoph/pypi/simple/ --extra-index-url https://pypi.org/simple jpm

About this package

CLI to copy files or folders from a git repo into your current project

jeAddons

Clone a file or folder from Git repositories into your current project.

add is registry-based (like shadcn add): you manage entries in a dict.

Usage with uvx

  1. Edit jeAddons/registry.py and add entries to REGISTRY.
  2. Run:
uvx jeaddons add <name> [--ref <branch-or-tag>] [--dest <target-dir>] [--force]
  1. See available names:
uvx jeaddons list

Registry example

REGISTRY = {
    "button": {
        "repo": "https://github.com/user/templates.git",
        "path": "src/components/Button.tsx",
        "ref": "main",
        "dest": "src/components",
    },
    "ui": {
        "repo": "https://github.com/user/templates.git",
        "path": "src/components/ui",
        "ref": "v1.2.0",
        "dest": "src/components",
    },
}

Requirements

Requires Python: >=3.14
Details
PyPI
2026-02-13 11:55:21 +00:00
3
51 KiB
Assets (2)
Versions (1) View all
0.1.1 2026-02-13