Usage:
$ [OPTIONS] COMMAND [ARGS]...Options:
--install-completion: Install completion for the current shell.--show-completion: Show completion for the current shell, to copy it or customize the installation.--help: Show this message and exit.
Commands:
change-encode: 將文件從GB2312編碼轉換為UTF-8編碼。change-lang: 將文件的語言轉換為指定的語言。
將文件從GB2312編碼轉換為UTF-8編碼。
Args: path (str): 文件路徑。 output (str, optional): 轉換後的文件存放位置(默認值為“dist”)。
Usage:
$ change-encode [OPTIONS] PATHArguments:
PATH: [required]
Options:
--output TEXT: [default: ./dist]--help: Show this message and exit.
將文件的語言轉換為指定的語言。
Args: path (str): 文件路徑。 lang (str): 目標語言。(s2t t2s) output (str, optional): 轉換後的文件存放位置(默認值為“dist”)。
Usage:
$ change-lang [OPTIONS] PATH LANGArguments:
PATH: [required]LANG: [required]
Options:
--output TEXT: [default: ./dist]--help: Show this message and exit.