2016-04-21 21:51:28 +00:00
|
|
|
package flags
|
2015-05-05 04:18:28 +00:00
|
|
|
|
2016-06-22 17:08:04 +00:00
|
|
|
// ClientOptions are the options used to configure the client cli
|
|
|
|
type ClientOptions struct {
|
2016-06-21 20:42:47 +00:00
|
|
|
Common *CommonOptions
|
2015-05-05 04:18:28 +00:00
|
|
|
ConfigDir string
|
2016-06-22 17:08:04 +00:00
|
|
|
Version bool
|
|
|
|
}
|
|
|
|
|
|
|
|
// NewClientOptions returns a new ClientOptions
|
|
|
|
func NewClientOptions() *ClientOptions {
|
|
|
|
return &ClientOptions{Common: NewCommonOptions()}
|
2015-05-05 04:18:28 +00:00
|
|
|
}
|