From e72d5ec0d1295c73783d8a76ba150d443a29c873 Mon Sep 17 00:00:00 2001 From: Gorbunov Kirill Andreevich Date: Thu, 21 Mar 2024 14:36:32 +0300 Subject: [PATCH] #8 Finalization RequestUpdate and RequestClose. --- internal/configcli/config.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/internal/configcli/config.go b/internal/configcli/config.go index fa88533..d808000 100644 --- a/internal/configcli/config.go +++ b/internal/configcli/config.go @@ -35,6 +35,13 @@ func NewConfig() *Config { } } +type UpdateOpt struct { + Pre bool `json:"pre" yaml:"pre" default:"false"` + Major bool `json:"major" yaml:"major" default:"false"` + UpMajor bool `json:"up_major" yaml:"up_major" default:"false"` + Cached bool `json:"cached" yaml:"cached" default:"true"` +} + func NewConfig() *Config { return &Config{ Source: &Source{},