lico-template-conversion.py
- LiCO private template
cross-version conversion tool
python3 lico-template-conversion.py [options]
lico-template-conversion.py
Supports LiCO V6.0.0 and
higher versions.Convert the private templates exported from LiCO between
LiCO versions, so as to ensure that private templates can be imported
between different LiCO versions.
-h
, --help
​ show this help message and exit.
--existed-template
​ Path of private template exported from LiCO V6.0.0 and higher versions.
--version
​ Specifies the version of the current private template. The script will recognize the version number by default. If it cannot be recognized, the version number can be given through this parameter. The currently supported versions are 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.4.1, 1.5.0, 1.7.0+openlico7.1.0, 1.8.0+openlico7.2.0, 1.9.0+openlico7.2.1, 1.9.1+openlico7.2.2, 8.0.0.
--lico-version
​ Specify the LiCO version used by the converted file. Currently supported versions are: 6.0, 6.1, 6.2, 6.3, 6.4, 6.4.1, 7.0, 7.0.1, 7.1, 7.2, 7.2.1, 7.2.2, 8.0.0, 8.0.0 is the default version
--output
​ Specify the file name of the output file, please end with .ljt, the
default is output-<time>.ljt
Convert the private template lico_demo.ljt
exported from
LiCO V6.0 to a template file that can be imported by LiCO latest
version
python3 lico-template-conversion.py --existed-template lico_demo.ljt
Convert the private template lico_demo.ljt
exported from
LiCO V6.0 to a template file that can be imported by LiCO latest
version, and specify the output file as
lico_demo_0315.ljt
python3 lico-template-conversion.py --existed-template lico_demo.ljt --output lico_demo_0315.ljt
Convert the private template lico_demo.ljt
exported from
LiCO V6.0 to a template file that can be imported by LiCO V6.4
python3 lico-template-conversion.py --existed-template lico_demo.ljt --lico-version 6.4