Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractVariables ¶
ExtractVariables extracts unique variable placeholders from command string Supports {variable} format and returns deduplicated list
func ReplaceVariables ¶
ReplaceVariables substitutes variable placeholders with provided values
func RunCommandInTerminal ¶
RunCommandInTerminal executes command in terminal with user prompt to continue
Types ¶
type CommandFinishedMsg ¶
type CommandFinishedMsg struct{}
CommandFinishedMsg signals completion of command execution
type TreeNode ¶
type TreeNode struct {
Name string
Children []*TreeNode
Expanded bool
IsFolder bool
Level int
Command string
Description string
Confirm bool
Variables []config.VariableConfig
}
TreeNode represents a hierarchical command structure
func BuildTreeFromConfig ¶
BuildTreeFromConfig creates tree structure from new config format
func ConvertConfigToTree ¶
func ConvertConfigToTree(cfg *config.ConfigNode, defaultConfirm bool, globalVariables []config.VariableConfig) *TreeNode
ConvertConfigToTree converts configuration to tree structure
Click to show internal directories.
Click to hide internal directories.