github.com/jasonkeene/cli@v6.14.1-0.20160816203908-ca5715166dfb+incompatible/cf/formatters/bools.go (about) 1 package formatters 2 3 import ( 4 . "github.com/cloudfoundry/cli/cf/i18n" 5 ) 6 7 func Allowed(allowed bool) string { 8 if allowed { 9 return T("allowed") 10 } 11 return T("disallowed") 12 }