-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathglobal.go
More file actions
19 lines (18 loc) · 810 Bytes
/
global.go
File metadata and controls
19 lines (18 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package main
func insertGlobalFlags() {
insertFlag(flag{Long: "version", Short: 'v'})
insertFlag(flag{Long: "config", Complete: compFiles})
insertFlag(flag{Long: "environment", Short: 'e', Complete: compEnvAliases})
insertFlag(flag{Long: "ca-cert", Complete: compFiles})
insertFlag(flag{Long: "sha2"})
insertFlag(flag{Long: "parallel", Complete: compNoop})
insertFlag(flag{Long: "client", Complete: compNoop})
insertFlag(flag{Long: "client-secret", Complete: compNoop})
insertFlag(flag{Long: "deployment", Short: 'd', Complete: compDeployments})
insertFlag(flag{Long: "column", Complete: compNoop})
insertFlag(flag{Long: "json"})
insertFlag(flag{Long: "tty"})
insertFlag(flag{Long: "no-color"})
insertFlag(flag{Long: "non-interactive", Short: 'n'})
insertFlag(flag{Long: "help", Short: 'h'})
}