As well as the GUI client, Colour Palette Editor also includes a command line tool which you can use to work with templates. The tool, ctktempr.exe, is located in the Colour Palette Editor application folder.