[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[[["\u003cp\u003e\u003ccode\u003egdcloud completion\u003c/code\u003e generates autocompletion code for Bash, Zsh, or Fish shells.\u003c/p\u003e\n"],["\u003cp\u003eBash completions can be loaded temporarily with \u003ccode\u003esource <(gdcloud completion bash)\u003c/code\u003e or permanently by redirecting the output to \u003ccode\u003e/etc/bash_completion.d/gdcloud\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eZsh requires enabling shell completion and then redirecting the output of \u003ccode\u003egdcloud completion zsh\u003c/code\u003e to \u003ccode\u003e${fpath[1]}/_gdcloud\u003c/code\u003e for persistent use, requiring a new shell session.\u003c/p\u003e\n"],["\u003cp\u003eFish completions can be loaded temporarily using \u003ccode\u003egdcloud completion fish | source\u003c/code\u003e or permanently by redirecting the output to \u003ccode\u003e~/.config/fish/completions/gdcloud.fish\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe gdcloud command provides the following global flags: \u003ccode\u003e--configuration\u003c/code\u003e, \u003ccode\u003e--format\u003c/code\u003e, \u003ccode\u003e--help\u003c/code\u003e, \u003ccode\u003e--project\u003c/code\u003e, and \u003ccode\u003e--quiet\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# gdcloud completion\n\nNAME\n----\n\ngdcloud completion - Generate autocompletion code for Bash, Zsh, or Fish shells.\n\nSYNOPSIS\n--------\n\n gdcloud completion SHELL_NAME\n\nDESCRIPTION\n-----------\n\nGenerate autocompletion code for Bash, Zsh or Fish shells. To load completions:\n\nBash: \n\n source \u003c(gdcloud completion bash)\n\nTo load completions for each session, run once: \n\n gdcloud completion bash \u003e /etc/bash_completion.d/gdcloud\n\nZsh:\n\nIf shell completion is not already enabled in your environment, you must\nenable it. Run the following once: \n\n echo \"autoload -U compinit; compinit\" \u003e\u003e ~/.zshrc\n\nTo load completions for each session, run once: \n\n gdcloud completion zsh \u003e \"${fpath[1]}/_gdcloud\"\n\nYou must start a new shell for this setup to take effect.\n\nFish: \n\n gdcloud completion fish | source\n\nTo load completions for each session, execute once: \n\n gdcloud completion fish \u003e ~/.config/fish/completions/gdcloud.fish\n\n### GDCLOUD WIDE FLAGS\n\nThese flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.\n\nFor more information, see the [gdcloud CLI reference overview](/distributed-cloud/hosted/docs/latest/gdch/resources/gdcloud-reference/gdcloud) page."]]