mgnl create-virtual-uri <virtualUriName>

The command creates a virtual URI mapping configuration file (a YAML definition file) in the light module

Arguments

NameDescription
virtualUriNameThe name of the new URI configuration

Options

NameDescription
-p, --path <path>The path to the light module
-f, --formUri <uri>The pattern to be matched in the requested URI. Enclose the <uri> value in quotes
-t, --toUri <<prefix:uri>>A concrete URI that the request is mapped to. Enclose the <prefix:uri> value in quotes
-P, --prototype <prototype>The name of the prototype variant to create the mapping