mirror of
https://github.com/Jguer/yay.git
synced 2024-11-06 17:17:22 +01:00
0fdfe79943
* feat(vote): add vote utility * update deps * add vote and unvote capabilities * use -W for web ops * add fish completions * add bash completion * add zsh completion * add md instructions
31 lines
699 B
Go
31 lines
699 B
Go
package settings
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/Morganamilo/go-pacmanconf"
|
|
|
|
"github.com/Jguer/aur"
|
|
"github.com/Jguer/votar/pkg/vote"
|
|
|
|
"github.com/Jguer/yay/v11/pkg/query"
|
|
"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
|
|
QueryBuilder query.Builder
|
|
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
|
|
VoteClient *vote.Client
|
|
}
|