yay/pkg/settings/runtime.go

26 lines
518 B
Go
Raw Normal View History

2020-07-05 00:45:23 +00:00
package settings
import (
2021-01-30 11:52:50 +00:00
"net/http"
"github.com/Morganamilo/go-pacmanconf"
2021-05-13 05:27:24 +00:00
"github.com/Jguer/aur"
2021-09-08 20:28:08 +00:00
"github.com/Jguer/yay/v11/pkg/settings/exe"
"github.com/Jguer/yay/v11/pkg/settings/parser"
"github.com/Jguer/yay/v11/pkg/vcs"
)
2020-07-05 00:45:23 +00:00
type Runtime struct {
Mode parser.TargetMode
SaveConfig bool
CompletionPath string
ConfigPath string
PacmanConf *pacmanconf.Config
VCSStore *vcs.InfoStore
CmdBuilder exe.ICmdBuilder
2021-01-30 11:52:50 +00:00
HTTPClient *http.Client
2021-05-13 05:27:24 +00:00
AURClient *aur.Client
2020-07-05 00:45:23 +00:00
}