Files
jpm/README.md
T
Christoph Brandau 58bc6523fb Rename CLI and registry references to jpm
Updates tooling branding and configuration to use the jpm name and related defaults.

- Aligns CLI messaging and docs to reference jpm instead of previous name.
- Updates registry entry defaults (repository URL, destination path).
- Changes temporary working directory prefix used during fetch operations.
- Adds project SDK configuration entries for the IDE.
- Adjusts README usage instructions to match the renamed commands.

These changes keep tooling, docs, and runtime behavior consistent with the jpm namespace.
2026-02-13 13:41:23 +01:00

40 lines
769 B
Markdown

# jeAddons
Clone a file or folder from Git repositories into your current project.
`add` is registry-based: you manage entries in a dict.
## Usage with uvx
1. Edit `jpm/registry.py` and add entries to `REGISTRY`.
2. Run:
```bash
uvx jpm add <name> [--ref <branch-or-tag>] [--dest <target-dir>] [--force]
```
3. See available names:
```bash
uvx jpm list
```
## Registry example
```python
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",
},
}
```