Clone a module to a new directory
The ol clone module command clones a module from the OL Hub into a newly-created directory in the command's execution context directory.
Rules
- Login to the hub.
- The cloned module exists in the OL Hub
- The command's execution context directory should not contain a folder with the module name.
Syntax
ol clone module MODULE_NAME [OPTIONS]
Arguments
MODULE_NAME
The name of the module to be cloned. To display the names of the modules in your OL Hub account, run the ol list modules command.
Example
Cloning a module
> ol clone module sap-module
$ ol clone module sap-module