applylicensing
- Updated2022-07-12
- 1 minute(s) read
applylicensing
Applies licensing to a component.
To apply licensing to a component from the CLI, use the following syntax:
gwebcli.exe applylicensing -c=<relative path to the component file> --ln=<license feature name> --lv=<version>
For example:
gwebcli.exe applylicensing -c="C:\Desktop\Web Application Project\WebApp.gcomp\WebApp.gcomp" --ln="License" --lv="2"
Argument | Required | Description | Example |
---|---|---|---|
|
Yes | This path must point directly to the component to be licensed. |
|
|
Yes | Specifies the component license in the corresponding license file (.lc). |
|
|
Yes | Specifies the version of the license in the license file (.lc) that corresponds to the component. |
|
|
No | Specifies that we do not want to protect the source files under a component when we license it. By default, all the source files are protected when licensed. | — |