feature:clone
Clone a remote feature repository into the local SPLENT cache.
Usage
splent feature:clone <namespace>/<repo>[@version]
Examples
Clone latest version:
splent feature:clone splent_io/notepad
Clone specific tag:
splent feature:clone splent_io/notepad@v1.2.7
Description
This command:
- Clones a feature repository from GitHub.
- Stores it in
.splent_cache. - Uses the specified version (tag or branch).
- If no version is provided, fetches the latest tag (or
main).
The feature is not automatically added to any product.
Authentication modes
The CLI tries SSH first. If SSH is not available (no key loaded or agent not running), it falls back to HTTPS:
- SSH available →
git@github.com:...(preferred) - SSH unavailable +
GITHUB_TOKENset → HTTPS with token - SSH unavailable + no token → HTTPS read-only
Resulting location
<workspace>/.splent_cache/features/<namespace>/<repo>@<version>/