您可以使用 template 命令以匯入、匯出、共用、取消共用、刪除與重新排序範本。

template 命令使用下列語法。
template -h | import|export|share|unshare|delete|reorder [parameters]
表 1. template 命令作業
命令名稱 說明 語法
template import 由檔案匯入範本檔案。
template import -h | input-file 
                     [--force] [--share all|group-name[{,group-name}]] 
                     [--retry maxRetryMinutes] [--set rank] [--create]
template export 將現有的範本匯出至範本檔案。
template export -h | template-name [output-dir]
template share 與一或多個使用者群組共用現有的範本。
template share -h | template-name all|group-name[{,group-name}]
template unshare 停止與特定群組共用範本。
template unshare -h | template-name all|group-name[{,group-name}]
template delete 永久刪除範本。
template delete -h | template-name
template reorder 設定範本的排名順序。排名順序控制根據共用範本所建立的範本順序。
template reorder -h | template-name [--set rank]