mirror of
https://github.com/aykhans/dodo.git
synced 2025-07-01 16:07:49 +00:00
✨ add yes flag to CLIConfigReader
This commit is contained in:
@ -35,6 +35,7 @@ type RequestConfig struct {
|
||||
Cookies map[string]string
|
||||
Proxies []Proxy
|
||||
Body string
|
||||
Yes bool
|
||||
}
|
||||
|
||||
func (config *RequestConfig) Print() {
|
||||
@ -152,6 +153,7 @@ func (config *JSONConfig) MergeConfigs(newConfig *JSONConfig) {
|
||||
|
||||
type CLIConfig struct {
|
||||
Config
|
||||
Yes bool `json:"yes" validate:"omitempty"`
|
||||
ConfigFile string `validation_name:"config-file" validate:"omitempty,filepath"`
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user