diff --git a/.idea/jeAddons.iml b/.idea/jeAddons.iml
index 788498d..76bf8f4 100644
--- a/.idea/jeAddons.iml
+++ b/.idea/jeAddons.iml
@@ -4,6 +4,7 @@
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 78ae3b9..0d39f4c 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -3,7 +3,7 @@
-
+
diff --git a/README.md b/README.md
index 1d30be3..d8ae992 100644
--- a/README.md
+++ b/README.md
@@ -2,21 +2,21 @@
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.
+`add` is registry-based: you manage entries in a dict.
## Usage with uvx
-1. Edit `jeAddons/registry.py` and add entries to `REGISTRY`.
+1. Edit `jpm/registry.py` and add entries to `REGISTRY`.
2. Run:
```bash
-uvx jeaddons add [--ref ] [--dest ] [--force]
+uvx jpm add [--ref ] [--dest ] [--force]
```
3. See available names:
```bash
-uvx jeaddons list
+uvx jpm list
```
## Registry example
diff --git a/jpm/cli.py b/jpm/cli.py
index e37009b..6cbe80b 100644
--- a/jpm/cli.py
+++ b/jpm/cli.py
@@ -23,7 +23,7 @@ def add(
entry = get_registry_entry(name)
except KeyError:
typer.echo(f"Unknown registry entry: '{name}'.")
- typer.echo("Run `jeaddons list` to show available entries.")
+ typer.echo("Run `jpm list` to show available entries.")
raise typer.Exit(1)
repo = entry.get("repo")
diff --git a/jpm/copier.py b/jpm/copier.py
index 88d743f..75e9b11 100644
--- a/jpm/copier.py
+++ b/jpm/copier.py
@@ -5,7 +5,7 @@ from pathlib import Path
def fetch_path(repo_url: str, repo_path: str, dest: Path, ref: str = "HEAD", force: bool = False):
- with tempfile.TemporaryDirectory(prefix="jeaddons-") as tmp:
+ with tempfile.TemporaryDirectory(prefix="jpm-") as tmp:
tmp_path = Path(tmp)
subprocess.check_call(
["git", "clone", "--filter=blob:none", "--no-checkout", "--depth", "1", repo_url, str(tmp_path)]
diff --git a/jpm/registry.py b/jpm/registry.py
index 92c6497..b36ea81 100644
--- a/jpm/registry.py
+++ b/jpm/registry.py
@@ -12,10 +12,10 @@ class RegistryEntry(TypedDict, total=False):
# Key = addon name you pass to `jpm add `.
REGISTRY: dict[str, RegistryEntry] = {
"AddOn_CYCLE800_Turning": {
- "repo": "xxx",
+ "repo": "https://dev.azure.com/janus-engineering-customers/AddonPool/_git/addon_B-Axis_Turning_tnc640",
"path": "AddOn_CYCLE800_Turning/",
"ref": "main",
- "dest": "AddOn/AddOn_CYCLE800_Turning/",
+ "dest": "AddOn/",
}
}