[[["容易理解","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\u003eCLI trees are static nested dictionaries that define the structure and help information for a command-line interface (CLI), including groups, commands, flags, and help text.\u003c/p\u003e\n"],["\u003cp\u003eCLI trees are stored in JSON files, and their filenames typically match the corresponding CLI name, such as \u003ccode\u003egdcloud.json\u003c/code\u003e for the gdcloud CLI.\u003c/p\u003e\n"],["\u003cp\u003eThese trees are faster to load and more compact compared to dynamic CLI trees generated at runtime.\u003c/p\u003e\n"],["\u003cp\u003eThe CLI trees associated with GDCH CLI modules are located in the \u003ccode\u003edata/cli\u003c/code\u003e subdirectory within the unzipped GDCH CLI bundle directory.\u003c/p\u003e\n"],["\u003cp\u003eA CLI tree can reproduce the entire help documentation for a CLI, but the gdcloud CLI doesn't need the CLI tree to function.\u003c/p\u003e\n"]]],[],null,["# gdcloud topic cli-trees\n\nNAME\n----\n\ngdcloud topic cli-trees - Supplementary help for CLI trees.\n\nDESCRIPTION\n-----------\n\nCLI trees are static nested dictionaries that describe all groups, commands, flags, positionals, help text, and completer module paths for a CLI. A static CLI tree is often much faster to load and access than a CLI tree generated at runtime from an active CLI. It is also a more compact representation. A properly formed CLI tree can be used to reproduce the help documentation for an entire CLI.\n\nCLI-Trees Data Files\n--------------------\n\nA CLI tree is a dictionary stored in a JSON file. By convention, the file base name is the corresponding CLI name. For example, the CLI tree file name for the gdcloud CLI is `gdcloud.json`.\nCLI trees associated with gdcloud CLI modules are installed in the `data/cli` subdirectory of the root of the unzipped gdcloud CLI bundle directory. \n\n \u003cUNZIPPED_CLI_DIR_PATH\u003e/google-distributed-cloud-hosted-cli/data/cli/gdcloud.json\n\nThis file contains tree data for the gdcloud CLI. Note that the gdcloud CLI does not require this CLI tree to run."]]