This website requires JavaScript.
Explore
Help
Sign In
kevin
/
cobra
Watch
1
Fork
0
You've already forked cobra
mirror of
https://github.com/spf13/cobra.git
synced
2024-11-15 09:48:19 -07:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
f464d6c82e
cobra
/
command_notwin.go
7 lines
88 B
Go
Raw
Normal View
History
Unescape
Escape
ci: test golang 1.16.x and 1.17.x too (#1425) * ci: test golang 1.16.x too * ci: style * ci: test golang 1.17.x too * bump go.mod to 1.15 * run gofmt
2021-08-25 20:18:53 -07:00
//go:build !windows
Issue #195: Compile mousetrap only on Windows * Create command_win.go and command_notwin.go for windows only code * Move call to mousetrap hook into separate preExecHook() function
2015-11-23 16:19:32 -07:00
// +build !windows
package
cobra
Fixing golint warnings * Moving final return outside of if-else * Removing type declarations that Go can infer from values * Cleaning up some existing comments * Changing snake_case variables to camelCase
2016-03-31 06:53:34 -07:00
var
preExecHookFn
func
(
*
Command
)
Reference in New Issue
Copy Permalink