pull
cli_command: pull
- source
Since: 0.8.0
def pull(
*,
name: str = "",
config_path_opt: str = "",
src_root_opt: str = "",
dest_name: str = ...,
dry_run: bool = False,
dest_only: bool = False,
include: list[str] = [],
exclude: list[str] = [],
) -> None: ...
Harvest newer mapped dest files into src after one confirm.
--dest-only also copies dest-only files. Quote glob patterns (e.g. -i '.cursor/*').
CLI Options:
| Flag | Type | Default | Description |
|---|---|---|---|
-n, --name |
str |
'' |
Config name |
-c, --config-path |
str |
'' |
Full path to config file |
--src-root |
str |
'' |
Source repo root |
-d, --dest |
str |
required | Destination name (exactly one) |
--dry-run |
bool |
False |
Print candidates without writing (same as non-TTY) |
--dest-only |
bool |
False |
Also harvest dest files with no src counterpart |
-i, --include |
list[str] |
[] |
Keep paths matching pattern |
-e, --exclude |
list[str] |
[] |
Drop paths matching pattern |
Changes
| Version | Change |
|---|---|
| 0.8.0 | Made public |