github.com/alde/glide@v0.0.0-20160309204240-d5fc6b676a75/action/debug.go (about) 1 package action 2 3 import ( 4 "github.com/Masterminds/glide/msg" 5 ) 6 7 // Debug sets the debugging flags across components. 8 func Debug(on bool) { 9 msg.Default.IsDebugging = on 10 } 11 12 // Quiet sets the quiet flags across components. 13 func Quiet(on bool) { 14 msg.Default.Quiet = on 15 } 16 17 // NoColor sets the color flags. 18 func NoColor(on bool) { 19 msg.Default.NoColor = on 20 }