feature: Add goctl completion (#1505)
* feature: Add `goctl completion` * Update const Co-authored-by: anqiansong <anqiansong@bytedance.com>
This commit is contained in:
9
tools/goctl/completion/const.go
Normal file
9
tools/goctl/completion/const.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package completion
|
||||
|
||||
const BashCompletionFlag = `generate-goctl-completion`
|
||||
const defaultCompletionFilename = "goctl_autocomplete"
|
||||
const (
|
||||
magic = 1 << iota
|
||||
flagZsh
|
||||
flagBash
|
||||
)
|
||||
Reference in New Issue
Block a user