github.com/dnephin/dobi@v0.15.0/tasks/context/settings.go (about)

     1  package context
     2  
     3  // Settings are flags that can be set by a user to change the behaviour of some
     4  // tasks
     5  type Settings struct {
     6  	Quiet     bool
     7  	BindMount bool
     8  }
     9  
    10  // NewSettings returns a new Settings
    11  func NewSettings(quiet bool, bindMount bool) Settings {
    12  	return Settings{Quiet: quiet, BindMount: bindMount}
    13  }