2020-07-05 00:45:23 +00:00
|
|
|
package settings
|
|
|
|
|
2020-07-05 01:17:35 +00:00
|
|
|
import (
|
2021-01-30 11:52:50 +00:00
|
|
|
"net/http"
|
|
|
|
|
2020-07-05 13:34:27 +00:00
|
|
|
"github.com/Morganamilo/go-pacmanconf"
|
2020-08-17 23:19:51 +00:00
|
|
|
|
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 01:17:35 +00:00
|
|
|
)
|
|
|
|
|
2020-07-05 00:45:23 +00:00
|
|
|
type Runtime struct {
|
2021-08-07 22:08:04 +00:00
|
|
|
Mode parser.TargetMode
|
2020-07-05 01:17:35 +00:00
|
|
|
SaveConfig bool
|
|
|
|
CompletionPath string
|
|
|
|
ConfigPath string
|
2020-07-05 13:34:27 +00:00
|
|
|
PacmanConf *pacmanconf.Config
|
2020-08-21 00:39:52 +00:00
|
|
|
VCSStore *vcs.InfoStore
|
2021-08-07 22:57:55 +00:00
|
|
|
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
|
|
|
}
|