Documentation ¶
Index ¶
- func NewPromptDisplayCollection(c *internal.Context) internal.PromptAction
- func NewPromptExecuteRequest(c *internal.Context) internal.PromptAction
- func NewPromptExitApp(c *internal.Context) internal.PromptAction
- func NewPromptHelp(actions []internal.PromptAction) internal.PromptAction
- func NewPromptLoadCollection(c *internal.Context) internal.PromptAction
- func NewPromptPostman(c *internal.Context) internal.PromptAction
- func NewPromptSelectEnv(c *internal.Context) internal.PromptAction
- func NewPromptSettings(c *internal.Context) internal.PromptAction
- type PromptDisplayCollection
- func (p PromptDisplayCollection) GetActionKeys() []string
- func (p PromptDisplayCollection) GetDescription(markdown bool) string
- func (p PromptDisplayCollection) GetName() string
- func (p PromptDisplayCollection) GetOptions(markdown bool) []internal.Option
- func (p PromptDisplayCollection) GetParamKeys() []internal.ParamWithRole
- func (p PromptDisplayCollection) GetPromptExecutor() internal.PromptExecutor
- func (p PromptDisplayCollection) PromptCallback(in []string, actions []internal.PromptAction, args ...any)
- func (p PromptDisplayCollection) PromptExecutor(in []string) *internal.PromptCallback
- func (p PromptDisplayCollection) PromptSuggest(in []string, d prompt.Document) ([]prompt.Suggest, error)
- type PromptExecuteRequest
- func (p PromptExecuteRequest) GetActionKeys() []string
- func (p PromptExecuteRequest) GetDescription(markdown bool) string
- func (p PromptExecuteRequest) GetName() string
- func (p PromptExecuteRequest) GetOptions(markdown bool) []internal.Option
- func (p PromptExecuteRequest) GetParamKeys() []internal.ParamWithRole
- func (p PromptExecuteRequest) GetPromptExecutor() internal.PromptExecutor
- func (p PromptExecuteRequest) PromptCallback(in []string, actions []internal.PromptAction, args ...any)
- func (p PromptExecuteRequest) PromptExecutor(in []string) *internal.PromptCallback
- func (p PromptExecuteRequest) PromptSuggest(in []string, d prompt.Document) ([]prompt.Suggest, error)
- type PromptExitApp
- func (p PromptExitApp) GetActionKeys() []string
- func (p PromptExitApp) GetDescription(markdown bool) string
- func (p PromptExitApp) GetName() string
- func (p PromptExitApp) GetOptions(markdown bool) []internal.Option
- func (p PromptExitApp) GetParamKeys() []internal.ParamWithRole
- func (p PromptExitApp) GetPromptExecutor() internal.PromptExecutor
- func (p PromptExitApp) PromptCallback(in []string, actions []internal.PromptAction, args ...any)
- func (p PromptExitApp) PromptExecutor(in []string) *internal.PromptCallback
- func (p PromptExitApp) PromptSuggest(in []string, d prompt.Document) ([]prompt.Suggest, error)
- type PromptHelp
- func (p PromptHelp) GetActionKeys() []string
- func (p PromptHelp) GetDescription(markdown bool) string
- func (p PromptHelp) GetName() string
- func (p PromptHelp) GetOptions(markdown bool) []internal.Option
- func (p PromptHelp) GetParamKeys() []internal.ParamWithRole
- func (p PromptHelp) GetPromptExecutor() internal.PromptExecutor
- func (p PromptHelp) PromptCallback(in []string, actions []internal.PromptAction, args ...any)
- func (p PromptHelp) PromptExecutor(in []string) *internal.PromptCallback
- func (p PromptHelp) PromptSuggest(in []string, d prompt.Document) ([]prompt.Suggest, error)
- type PromptLoadCollection
- func (p PromptLoadCollection) GetActionKeys() []string
- func (p PromptLoadCollection) GetDescription(markdown bool) string
- func (p PromptLoadCollection) GetName() string
- func (p PromptLoadCollection) GetOptions(markdown bool) []internal.Option
- func (p PromptLoadCollection) GetParamKeys() []internal.ParamWithRole
- func (p PromptLoadCollection) GetPromptExecutor() internal.PromptExecutor
- func (p PromptLoadCollection) PromptCallback(in []string, actions []internal.PromptAction, args ...any)
- func (p PromptLoadCollection) PromptExecutor(in []string) *internal.PromptCallback
- func (p PromptLoadCollection) PromptSuggest(in []string, d prompt.Document) ([]prompt.Suggest, error)
- type PromptPostman
- func (p PromptPostman) GetActionKeys() []string
- func (p PromptPostman) GetDescription(markdown bool) string
- func (p PromptPostman) GetName() string
- func (p PromptPostman) GetOptions(markdown bool) []internal.Option
- func (p PromptPostman) GetParamKeys() []internal.ParamWithRole
- func (p PromptPostman) GetPromptExecutor() internal.PromptExecutor
- func (p PromptPostman) PromptCallback(in []string, actions []internal.PromptAction, args ...any)
- func (p PromptPostman) PromptExecutor(in []string) *internal.PromptCallback
- func (p PromptPostman) PromptSuggest(in []string, d prompt.Document) ([]prompt.Suggest, error)
- type PromptSelectEnv
- func (p PromptSelectEnv) GetActionKeys() []string
- func (p PromptSelectEnv) GetDescription(markdown bool) string
- func (p PromptSelectEnv) GetName() string
- func (p PromptSelectEnv) GetOptions(markdown bool) []internal.Option
- func (p PromptSelectEnv) GetParamKeys() []internal.ParamWithRole
- func (p PromptSelectEnv) GetPromptExecutor() internal.PromptExecutor
- func (p PromptSelectEnv) PromptCallback(in []string, actions []internal.PromptAction, args ...any)
- func (p PromptSelectEnv) PromptExecutor(in []string) *internal.PromptCallback
- func (p PromptSelectEnv) PromptSuggest(in []string, d prompt.Document) ([]prompt.Suggest, error)
- type PromptSettings
- func (p PromptSettings) GetActionKeys() []string
- func (p PromptSettings) GetDescription(markdown bool) string
- func (p PromptSettings) GetName() string
- func (p PromptSettings) GetOptions(markdown bool) []internal.Option
- func (p PromptSettings) GetParamKeys() []internal.ParamWithRole
- func (p PromptSettings) GetPromptExecutor() internal.PromptExecutor
- func (p PromptSettings) PromptCallback(in []string, actions []internal.PromptAction, args ...any)
- func (p PromptSettings) PromptExecutor(in []string) *internal.PromptCallback
- func (p PromptSettings) PromptSuggest(in []string, d prompt.Document) ([]prompt.Suggest, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPromptDisplayCollection ¶
func NewPromptDisplayCollection(c *internal.Context) internal.PromptAction
func NewPromptExecuteRequest ¶
func NewPromptExecuteRequest(c *internal.Context) internal.PromptAction
func NewPromptExitApp ¶
func NewPromptExitApp(c *internal.Context) internal.PromptAction
func NewPromptHelp ¶
func NewPromptHelp(actions []internal.PromptAction) internal.PromptAction
func NewPromptLoadCollection ¶
func NewPromptLoadCollection(c *internal.Context) internal.PromptAction
func NewPromptPostman ¶
func NewPromptPostman(c *internal.Context) internal.PromptAction
func NewPromptSelectEnv ¶
func NewPromptSelectEnv(c *internal.Context) internal.PromptAction
func NewPromptSettings ¶
func NewPromptSettings(c *internal.Context) internal.PromptAction
Types ¶
type PromptDisplayCollection ¶
type PromptDisplayCollection struct {
// contains filtered or unexported fields
}
func (PromptDisplayCollection) GetActionKeys ¶
func (p PromptDisplayCollection) GetActionKeys() []string
func (PromptDisplayCollection) GetDescription ¶
func (p PromptDisplayCollection) GetDescription(markdown bool) string
func (PromptDisplayCollection) GetName ¶
func (p PromptDisplayCollection) GetName() string
func (PromptDisplayCollection) GetOptions ¶
func (p PromptDisplayCollection) GetOptions(markdown bool) []internal.Option
func (PromptDisplayCollection) GetParamKeys ¶
func (p PromptDisplayCollection) GetParamKeys() []internal.ParamWithRole
func (PromptDisplayCollection) GetPromptExecutor ¶
func (p PromptDisplayCollection) GetPromptExecutor() internal.PromptExecutor
func (PromptDisplayCollection) PromptCallback ¶
func (p PromptDisplayCollection) PromptCallback(in []string, actions []internal.PromptAction, args ...any)
func (PromptDisplayCollection) PromptExecutor ¶
func (p PromptDisplayCollection) PromptExecutor(in []string) *internal.PromptCallback
func (PromptDisplayCollection) PromptSuggest ¶
func (p PromptDisplayCollection) PromptSuggest(in []string, d prompt.Document) ([]prompt.Suggest, error)
type PromptExecuteRequest ¶
type PromptExecuteRequest struct {
// contains filtered or unexported fields
}
func (PromptExecuteRequest) GetActionKeys ¶
func (p PromptExecuteRequest) GetActionKeys() []string
func (PromptExecuteRequest) GetDescription ¶
func (p PromptExecuteRequest) GetDescription(markdown bool) string
func (PromptExecuteRequest) GetName ¶
func (p PromptExecuteRequest) GetName() string
func (PromptExecuteRequest) GetOptions ¶
func (p PromptExecuteRequest) GetOptions(markdown bool) []internal.Option
func (PromptExecuteRequest) GetParamKeys ¶
func (p PromptExecuteRequest) GetParamKeys() []internal.ParamWithRole
func (PromptExecuteRequest) GetPromptExecutor ¶
func (p PromptExecuteRequest) GetPromptExecutor() internal.PromptExecutor
func (PromptExecuteRequest) PromptCallback ¶
func (p PromptExecuteRequest) PromptCallback(in []string, actions []internal.PromptAction, args ...any)
func (PromptExecuteRequest) PromptExecutor ¶
func (p PromptExecuteRequest) PromptExecutor(in []string) *internal.PromptCallback
func (PromptExecuteRequest) PromptSuggest ¶
func (p PromptExecuteRequest) PromptSuggest(in []string, d prompt.Document) ([]prompt.Suggest, error)
type PromptExitApp ¶
type PromptExitApp struct {
// contains filtered or unexported fields
}
func (PromptExitApp) GetActionKeys ¶
func (p PromptExitApp) GetActionKeys() []string
func (PromptExitApp) GetDescription ¶
func (p PromptExitApp) GetDescription(markdown bool) string
func (PromptExitApp) GetName ¶
func (p PromptExitApp) GetName() string
func (PromptExitApp) GetOptions ¶
func (p PromptExitApp) GetOptions(markdown bool) []internal.Option
func (PromptExitApp) GetParamKeys ¶
func (p PromptExitApp) GetParamKeys() []internal.ParamWithRole
func (PromptExitApp) GetPromptExecutor ¶
func (p PromptExitApp) GetPromptExecutor() internal.PromptExecutor
func (PromptExitApp) PromptCallback ¶
func (p PromptExitApp) PromptCallback(in []string, actions []internal.PromptAction, args ...any)
func (PromptExitApp) PromptExecutor ¶
func (p PromptExitApp) PromptExecutor(in []string) *internal.PromptCallback
func (PromptExitApp) PromptSuggest ¶
func (p PromptExitApp) PromptSuggest(in []string, d prompt.Document) ([]prompt.Suggest, error)
type PromptHelp ¶
type PromptHelp struct {
// contains filtered or unexported fields
}
func (PromptHelp) GetActionKeys ¶
func (p PromptHelp) GetActionKeys() []string
func (PromptHelp) GetDescription ¶
func (p PromptHelp) GetDescription(markdown bool) string
func (PromptHelp) GetName ¶
func (p PromptHelp) GetName() string
func (PromptHelp) GetOptions ¶
func (p PromptHelp) GetOptions(markdown bool) []internal.Option
func (PromptHelp) GetParamKeys ¶
func (p PromptHelp) GetParamKeys() []internal.ParamWithRole
func (PromptHelp) GetPromptExecutor ¶
func (p PromptHelp) GetPromptExecutor() internal.PromptExecutor
func (PromptHelp) PromptCallback ¶
func (p PromptHelp) PromptCallback(in []string, actions []internal.PromptAction, args ...any)
func (PromptHelp) PromptExecutor ¶
func (p PromptHelp) PromptExecutor(in []string) *internal.PromptCallback
func (PromptHelp) PromptSuggest ¶
func (p PromptHelp) PromptSuggest(in []string, d prompt.Document) ([]prompt.Suggest, error)
type PromptLoadCollection ¶
type PromptLoadCollection struct {
// contains filtered or unexported fields
}
func (PromptLoadCollection) GetActionKeys ¶
func (p PromptLoadCollection) GetActionKeys() []string
func (PromptLoadCollection) GetDescription ¶
func (p PromptLoadCollection) GetDescription(markdown bool) string
func (PromptLoadCollection) GetName ¶
func (p PromptLoadCollection) GetName() string
func (PromptLoadCollection) GetOptions ¶
func (p PromptLoadCollection) GetOptions(markdown bool) []internal.Option
func (PromptLoadCollection) GetParamKeys ¶
func (p PromptLoadCollection) GetParamKeys() []internal.ParamWithRole
func (PromptLoadCollection) GetPromptExecutor ¶
func (p PromptLoadCollection) GetPromptExecutor() internal.PromptExecutor
func (PromptLoadCollection) PromptCallback ¶
func (p PromptLoadCollection) PromptCallback(in []string, actions []internal.PromptAction, args ...any)
func (PromptLoadCollection) PromptExecutor ¶
func (p PromptLoadCollection) PromptExecutor(in []string) *internal.PromptCallback
func (PromptLoadCollection) PromptSuggest ¶
func (p PromptLoadCollection) PromptSuggest(in []string, d prompt.Document) ([]prompt.Suggest, error)
type PromptPostman ¶
type PromptPostman struct {
// contains filtered or unexported fields
}
func (PromptPostman) GetActionKeys ¶
func (p PromptPostman) GetActionKeys() []string
func (PromptPostman) GetDescription ¶
func (p PromptPostman) GetDescription(markdown bool) string
func (PromptPostman) GetName ¶
func (p PromptPostman) GetName() string
func (PromptPostman) GetOptions ¶
func (p PromptPostman) GetOptions(markdown bool) []internal.Option
func (PromptPostman) GetParamKeys ¶
func (p PromptPostman) GetParamKeys() []internal.ParamWithRole
func (PromptPostman) GetPromptExecutor ¶
func (p PromptPostman) GetPromptExecutor() internal.PromptExecutor
func (PromptPostman) PromptCallback ¶
func (p PromptPostman) PromptCallback(in []string, actions []internal.PromptAction, args ...any)
func (PromptPostman) PromptExecutor ¶
func (p PromptPostman) PromptExecutor(in []string) *internal.PromptCallback
func (PromptPostman) PromptSuggest ¶
func (p PromptPostman) PromptSuggest(in []string, d prompt.Document) ([]prompt.Suggest, error)
type PromptSelectEnv ¶
type PromptSelectEnv struct {
// contains filtered or unexported fields
}
func (PromptSelectEnv) GetActionKeys ¶
func (p PromptSelectEnv) GetActionKeys() []string
func (PromptSelectEnv) GetDescription ¶
func (p PromptSelectEnv) GetDescription(markdown bool) string
func (PromptSelectEnv) GetName ¶
func (p PromptSelectEnv) GetName() string
func (PromptSelectEnv) GetOptions ¶
func (p PromptSelectEnv) GetOptions(markdown bool) []internal.Option
func (PromptSelectEnv) GetParamKeys ¶
func (p PromptSelectEnv) GetParamKeys() []internal.ParamWithRole
func (PromptSelectEnv) GetPromptExecutor ¶
func (p PromptSelectEnv) GetPromptExecutor() internal.PromptExecutor
func (PromptSelectEnv) PromptCallback ¶
func (p PromptSelectEnv) PromptCallback(in []string, actions []internal.PromptAction, args ...any)
func (PromptSelectEnv) PromptExecutor ¶
func (p PromptSelectEnv) PromptExecutor(in []string) *internal.PromptCallback
func (PromptSelectEnv) PromptSuggest ¶
func (p PromptSelectEnv) PromptSuggest(in []string, d prompt.Document) ([]prompt.Suggest, error)
type PromptSettings ¶
type PromptSettings struct {
// contains filtered or unexported fields
}
func (PromptSettings) GetActionKeys ¶
func (p PromptSettings) GetActionKeys() []string
func (PromptSettings) GetDescription ¶
func (p PromptSettings) GetDescription(markdown bool) string
func (PromptSettings) GetName ¶
func (p PromptSettings) GetName() string
func (PromptSettings) GetOptions ¶
func (p PromptSettings) GetOptions(markdown bool) []internal.Option
func (PromptSettings) GetParamKeys ¶
func (p PromptSettings) GetParamKeys() []internal.ParamWithRole
func (PromptSettings) GetPromptExecutor ¶
func (p PromptSettings) GetPromptExecutor() internal.PromptExecutor
func (PromptSettings) PromptCallback ¶
func (p PromptSettings) PromptCallback(in []string, actions []internal.PromptAction, args ...any)
func (PromptSettings) PromptExecutor ¶
func (p PromptSettings) PromptExecutor(in []string) *internal.PromptCallback
func (PromptSettings) PromptSuggest ¶
func (p PromptSettings) PromptSuggest(in []string, d prompt.Document) ([]prompt.Suggest, error)
Click to show internal directories.
Click to hide internal directories.