This website requires JavaScript.
Explore
Help
Sign in
glenux-archive
/
spf13--cobra
Watch
1
Star
0
Fork
You've already forked spf13--cobra
0
mirror of
https://github.com/spf13/cobra
synced
2024-11-04 21:07:19 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
7d22e77cce
spf13--cobra
/
command_notwin.go
6 lines
68 B
Go
Raw
Normal View
History
Unescape
Escape
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 23:19:32 +00: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 13:53:34 +00:00
var
preExecHookFn
func
(
*
Command
)
Reference in a new issue
Copy permalink