package commConsts

import (
	"github.com/awesome-gocui/gocui"
)

var (
	LanguageZh = "zh"
	LanguageEn = "en"
	Language   = LanguageZh

	AutoCommitResult bool
	AutoCommitBug    bool
	Verbose          = false
	IsRelease        bool
	ZtfDir           string
	WorkDir          string
	ExecLogDir       string
	LogDir           string

	RequestType string
	ExecFrom    ExecFromDef

	AppVersion string
	BuildTime  string
	GoVersion  string
	GitHash    string
)

var (
	Cui                *gocui.Gui
	MainViewHeight     int
	ConfigPath         string
	ServerWorkDir      string
	ServerWorkspaceDir string

	UnitTestType    string
	UnitBuildTool   BuildTool
	UnitTestTool    TestTool
	UnitTestResult  string
	UnitTestResults = "results"
	ProductId       string

	ZenTaoVersion string
	Token         = "Token"
	SessionVar    = "zentaosid"
	SessionId     string
	RequestFix    string

	CurrScriptFile string // scripts/tc-001.py
	CurrResultDate string // 2019-08-15T173802
	CurrCaseId     int    // 2019-08-15T173802

	ScreenWidth    int
	ScreenHeight   int
	CurrBugStepIds string
	Interpreter    string

	// server
	RunMode     string
	IP          string
	MAC         string
	AgentLogDir string
)
