github.com/itscaro/cli@v0.0.0-20190705081621-c9db0fe93829/cli/flags/client.go (about)

     1  package flags
     2  
     3  // ClientOptions are the options used to configure the client cli
     4  type ClientOptions struct {
     5  	Common    *CommonOptions
     6  	ConfigDir string
     7  }
     8  
     9  // NewClientOptions returns a new ClientOptions
    10  func NewClientOptions() *ClientOptions {
    11  	return &ClientOptions{Common: NewCommonOptions()}
    12  }