Documentation ¶
Index ¶
Constants ¶
View Source
const ( BackActionName = "back" WorkflowsActionName = "workflows..." CancelActionName = "cancel" CheckMarkEmoji = "\U00002705" CrossMarkEmoji = "\U0000274C" )
View Source
const (
Identifier string = "prompter"
)
Variables ¶
View Source
var CreateFakePrompter = func() *fakePrompterImpl {
return &fakePrompterImpl{}
}
Functions ¶
Types ¶
type Prompter ¶
type Prompter interface { PromptConfigContext(cfgContexts []*config.Context) (*config.Context, error) PromptCommandFolderItemSelection(folderItems []*models.CommandFolderItemInfo) (*models.CommandFolderItemInfo, error) PromptInstructionActions(folderItem string, actions []*models.Action) (*models.Action, error) PromptInstructionWorkflows(folderItem string, workflows []*models.Workflow) (*models.Workflow, error) }
Click to show internal directories.
Click to hide internal directories.