Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Prompt ¶
type Prompt struct { Title string `json:"title" yaml:"title"` Prefix string `json:"prefix" yaml:"prefix"` History PromptHistory `json:"history" yaml:"history"` Aliases map[string]string `json:"aliases" yaml:"aliases"` }
type PromptHistory ¶
type Require ¶ added in v0.1.4
type Require struct { Envs []RequireEnv `json:"envs" yaml:"envs"` Scripts []RequireScript `json:"scripts" yaml:"scripts"` Packages []RequirePackage `json:"packages" yaml:"packages"` }
type RequireEnv ¶ added in v0.1.4
type RequireEnv struct { Name string `json:"name" yaml:"name"` Help string `json:"help" yaml:"help"` }
func (RequireEnv) String ¶ added in v0.1.4
func (c RequireEnv) String() string
type RequirePackage ¶ added in v0.1.4
type RequirePackage struct { Name string `json:"name" yaml:"name"` Version string `json:"version" yaml:"version"` Command string `json:"command" yaml:"command"` Help string `json:"help" yaml:"help"` }
func (RequirePackage) String ¶ added in v0.1.4
func (c RequirePackage) String() string
type RequireScript ¶ added in v0.1.4
type RequireScript struct { Name string `json:"name" yaml:"name"` Command string `json:"command" yaml:"command"` Help string `json:"help" yaml:"help"` }
func (RequireScript) String ¶ added in v0.1.4
func (c RequireScript) String() string
Click to show internal directories.
Click to hide internal directories.