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