リファレンス
コマンドライン
import { … } from "@johnmorrisdotca/kotoba/cli";
最小化と gzip 圧縮をしたサイズは 469.1 kB(読み込むものをすべて含み、esbuild で計測)
リファレンスの説明と例は英語です。見出しと目次は日本語です。
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
cliLanguage | 関数 | The language the command line speaks: --lang, or the environment's, or the system's; Japanese for ja…, English for anything else. |
CliResult | 型 | What the command line came to. |
CliSurroundings | 型 | What the command line is run in. |
CliTier | 型 | Which words of a list: the easy answers, every answer, or every word that may be guessed. |
CliWords | 型 | The lists the command line reads: the alphabet languages and Japanese kana. |
runCli | 関数 | Run the command line. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。