diff options
| author | Shohei YOSHIDA <syohex@gmail.com> | 2024-09-17 11:37:50 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-17 11:37:50 +0900 |
| commit | d24f58d2f187a72697aa2781a730f65732cb2f6b (patch) | |
| tree | 5e1993bb7e730e3f18b71b091e17fe3d3f92645c /src | |
| parent | Merge pull request #1102 from zsh-users/update-node (diff) | |
| parent | Add 'go telemetry' completion (diff) | |
| download | zsh-completions-d24f58d2f187a72697aa2781a730f65732cb2f6b.tar zsh-completions-d24f58d2f187a72697aa2781a730f65732cb2f6b.tar.gz zsh-completions-d24f58d2f187a72697aa2781a730f65732cb2f6b.tar.bz2 zsh-completions-d24f58d2f187a72697aa2781a730f65732cb2f6b.tar.lz zsh-completions-d24f58d2f187a72697aa2781a730f65732cb2f6b.tar.xz zsh-completions-d24f58d2f187a72697aa2781a730f65732cb2f6b.tar.zst zsh-completions-d24f58d2f187a72697aa2781a730f65732cb2f6b.zip | |
Merge pull request #1104 from telemachus/golang-telemetry
Add 'go telemetry' completion
Diffstat (limited to 'src')
| -rw-r--r-- | src/_golang | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/_golang b/src/_golang index 79b83d1..d79c804 100644 --- a/src/_golang +++ b/src/_golang @@ -195,6 +195,7 @@ local -a commands=( 'mod:module maintenance' 'work:workspace maintenance' 'run:compile and run Go program' + 'telemetry:manage Go telemetry data and settings' 'test:test packages' 'tool:run specified go tool' 'version:print Go version' @@ -658,6 +659,15 @@ case $state in '*:importpaths:__go_packages' ;; + (telemetry) + local -a telemetry_commands=( + 'off:disable both collection and uploading of telemetry data' + 'local:disable telemetry uploading, but enable local data collection' + 'on:enable both collection and uploading of telemetry data' + ) + _describe 'command' telemetry_commands + ;; + (test) if [[ $words[$CURRENT] = -test.* ]]; then _arguments \ |
