tmd template create
建立新的 template 檔案並在編輯器中開啟。
tmd template create book/reviewtmd template create note/meeting參數格式為 type/name。此指令會:
- 在
templates/<type>/<name>.md建立檔案(如果 type 目錄不存在會自動建立) - 使用你的編輯器開啟檔案(
$EDITOR、$VISUAL,或vi)
如果 template 已存在,指令會回傳錯誤。