Generates the directory layout and starter files for a gh extension named my-extension. Extensions are standalone scripts or Go binaries that add gh subcommands. Add --precompiled to scaffold a Go-based extension instead of a script.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.