Created
January 13, 2020 10:58
-
-
Save hymkor/d86d0678806da1b86c7bf83f116ca5f6 to your computer and use it in GitHub Desktop.
go sub-command completion for nyagos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nyagos.complete_for.go = function(args) | |
if #args == 2 then | |
return { | |
"build", "clean", "doc", "env", "fix", "fmt", "generate", | |
"get", "install", "list", "mod", "run", "test", "tool", "version", | |
"vet" | |
} | |
end | |
return nil | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment