Documentation ¶
Index ¶
Constants ¶
View Source
const ( ModeRun = "run" ModeBuild = "build" ModeWatch = "watch" )
View Source
const ( AdapterViteYarn = "vite-yarn" AdapterViteNpm = "vite-npm" AdapterVitePnpm = "vite-pnpm" AdapterTauriYarn = "tauri-yarn" AdapterTauriNpm = "tauri-npm" AdapterTauriPnpm = "tauri-pnpm" AdapterDotnet = "dotnet" AdapterCustom = "custom" )
View Source
const ( KeyDefault = "$default" KeyAdapter = "$adapter" KeyDirectory = "$dir" KeyFragment = "$fragments" KeyCompound = "$compounds" KeyPre = "$pre" KeyPost = "$post" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter interface {
CreateTask(c ProfileWrapper, extraArgs []string) tasks.Task
}
type BaseOptions ¶
type CompoundOptions ¶
type CustomOptions ¶
type CustomOptions struct {
Command string `json:"command"`
}
type DotNetOptions ¶
type DotNetOptions struct {
Project string `json:"project"`
}
type FragmentOptions ¶
type FragmentOptions map[string]interface{}
type HookOptions ¶
type ProfileOptions ¶
type ProfileWrapper ¶
type ProfileWrapper interface { GetName() string GetMode() string GetAdapter() string GetDirectory() string GetOptions() map[string]interface{} GetViteOptions() ViteOptions GetDotNetOptions() DotNetOptions GetBaseOptions() BaseOptions GetProfileOptions() ProfileOptions }
type ViteOptions ¶
type ViteOptions struct {
Mode string `json:"mode"`
}
Click to show internal directories.
Click to hide internal directories.