enx clone
Clone a repository and register it.
Usage
enx clone <repo> [path]
Arguments
| Argument | Required | Description |
|---|---|---|
repo |
Yes | Git repository URL to clone |
path |
No | Destination path. Defaults to the projects directory from global config. |
Description
Runs git clone <repo> [path], then automatically registers the cloned project in enxβs registry. This is a convenience wrapper that combines cloning with project registration.
A spinner is shown during the clone operation.
Example
$ enx clone https://github.com/myorg/api-service
βΈ Cloning repository...
β Cloned to ~/code/api-service
β Registered "api-service"
See Also
enx initβ register an existing directoryenx removeβ unregister a project