OpenCC icon indicating copy to clipboard operation
OpenCC copied to clipboard

關於 cli 版的 config 選項的一些建議

Open plum7x opened this issue 4 months ago • 3 comments

在 windows 中使用 opencc 只能通過完整路徑指定 config,否則只能把工作目錄設定到 config 目錄。也就是需要一個放置 config 的固定位置,以避免需要指定 config 的完整路徑的情況。

例如優先使用 opencc.exe 所在目錄下的 config -c s2t.json

  1. "opencc.exe 所在目錄\s2t.json"
  2. "opencc.exe 所在目錄\configs\s2t.json"

另外,希望允許使用 base name 指定 config 例如 -c s2t-c s2t.json

plum7x avatar Feb 19 '24 06:02 plum7x