離線 HTML 文件位於 data/offline-help/docs/ 資料夾內的 tar 檔案中。如要存取這些文件,必須解壓縮 tar 檔案;解壓縮的目錄取決於使用者。如果找不到 CLI tar 檔案,可以從 GDC 網站下載。
這些靜態 HTML 文件的頂層檔案是 gdch.html 檔案。如果 tar 檔案是在 HOME 目錄中解壓縮,則 gdch.html 檔案會位於 $HOME/static/docs/distributed-cloud/hosted/docs/latest/。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[[["\u003cp\u003eThe gdcloud CLI offers multiple ways to access command help, including the \u003ccode\u003e--help\u003c/code\u003e flag, \u003ccode\u003egdcloud topic\u003c/code\u003e command, and offline HTML documents.\u003c/p\u003e\n"],["\u003cp\u003eAdding the \u003ccode\u003e--help\u003c/code\u003e flag to any gdcloud command generates an up-to-date help document directly from the command's help text.\u003c/p\u003e\n"],["\u003cp\u003eSupplementary feature-specific help is available through the \u003ccode\u003egdcloud topic\u003c/code\u003e command.\u003c/p\u003e\n"],["\u003cp\u003eOffline HTML documentation is bundled with the CLI in a tar file located within the \u003ccode\u003edata/offline-help/docs/\u003c/code\u003e folder.\u003c/p\u003e\n"],["\u003cp\u003eAccess to the offline documentation requires extracting the tar file, with the main \u003ccode\u003egdch.html\u003c/code\u003e file found in the extracted \u003ccode\u003estatic/docs/distributed-cloud/hosted/docs/latest/\u003c/code\u003e directory.\u003c/p\u003e\n"]]],[],null,["# gdcloud topic offline-help\n\nNAME\n----\n\ngdcloud topic offline-help - Supplementary help for gdcloud CLI offline help.\n\nDESCRIPTION\n-----------\n\nThere are multiple ways to access gdcloud CLI command help.\n\\* Add the `--help` flag to any command. This renders a help document in a terminal pager. The document is always up-to-date with the command because it is generated by collating help text from the command itself.\n\\* Use the `gdcloud topic` command to view a particular feature's supplementary help text.\n\\* Use the static HTML documents provided in the downloaded CLI bundle.\nAll the methods are available after the gdcloud CLI installation.\n\nOffline HTML Documents\n----------------------\n\nThe offline HTML documents are in a tar file inside the `data/offline-help/docs/` folder. To access these documents, the tar file must be extracted; the directory it is extracted to depends on the user. If the CLI tar file can't be found, then it can be downloaded from the GDC website.\nThe top-level file for these static HTML documents is the `gdch.html` file. If the tar file is extracted in the HOME directory, then the `gdch.html` file will be located at `$HOME/static/docs/distributed-cloud/hosted/docs/latest/`."]]