离线 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"]],["最后更新时间 (UTC):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/`."]]