yay/pkg/settings/runtime.go
J Guerreiro ae01f8e4a0
feat(config): Add version marker (#1720)
* only run on PRs

* prefer manual tags

* add defaults for tests

* cuddle assignment
2022-03-04 23:30:15 +00:00

27 lines
567 B
Go

package settings
import (
"net/http"
"github.com/Morganamilo/go-pacmanconf"
"github.com/Jguer/aur"
"github.com/Jguer/yay/v11/pkg/settings/exe"
"github.com/Jguer/yay/v11/pkg/settings/parser"
"github.com/Jguer/yay/v11/pkg/vcs"
)
type Runtime struct {
Mode parser.TargetMode
Version string // current version of yay
SaveConfig bool
CompletionPath string
ConfigPath string
PacmanConf *pacmanconf.Config
VCSStore *vcs.InfoStore
CmdBuilder exe.ICmdBuilder
HTTPClient *http.Client
AURClient *aur.Client
}