1
mirror of https://github.com/spf13/cobra.git synced 2024-12-27 22:11:11 -07:00
Commit Graph

6 Commits

Author SHA1 Message Date
Unai Martinez-Corral
9e6b58afc7
update copyright year () 2023-03-05 21:28:31 -05:00
Unai Martinez-Corral
6d978a911e
add missing license headers () 2022-09-16 07:55:56 -04:00
Unai Martinez-Corral
4fd30b69ee
ci: test golang 1.16.x and 1.17.x too ()
* 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 21:18:53 -06:00
Willi Eggeling
67fc4837d2 added variable to allow configuration of mousetrap message duration ()
new variable MousetrapDisplayDuration allows to modify the default
display duration of 5s, or to completely disable the timeout and wait
for the user to press the return key.
2019-03-20 20:05:52 -04:00
Albert Nigmatzianov
c46add8a65 Add ability to disable mousetrap
Fix 
Close  (no progress there)
2017-07-11 14:08:33 +02:00
Frank Schroeder
193b182195 Issue : 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-24 01:52:16 +01:00