ol create module
The ol create module command creates a new module that uses the specified connector, in a new folder named after the module. Run the other module commands, such as ol add and ol config module, from that folder.
The module can either define its own connection properties, or reuse a connection that already exists in the OL Hub by name with --connection.
Syntax
ol create module MODULE_NAME [OPTIONS]
Arguments
MODULE_NAME
The name of the module to create
Options
--connector
The connector the module uses, for example mf-cics-cobol or rest-json.
--connection
Link an existing Hub connection to the new module, by the connection's name. The connection must already exist in the OL Hub and must suit the module's connector. Without this option the module starts with no linked connection and you configure its connection properties yourself, with ol config module.
--default-parser
The default parser for the ol add command.
--backend-solution
A custom backend solution.
Example
Creating a mainframe CICS COBOL module
> ol create module account-cics --connector mf-cics-cobol
$ ol create module account-cics --connector mf-cics-cobol
Creating a module that reuses an existing Hub connection
> ol create module account-cics --connector mf-cics-cobol --connection my-cics-connection
$ ol create module account-cics --connector mf-cics-cobol --connection my-cics-connection