Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blueprint ¶
Blueprint represents a parsed command template
func (*Blueprint) BuildCommandArgs ¶
BuildCommandArgs builds the actual command arguments from the template
func (*Blueprint) GenerateInputSchema ¶
func (bp *Blueprint) GenerateInputSchema() *jsonschema.Schema
GenerateInputSchema creates a JSON schema from the tokenized shell words
func (*Blueprint) GetBaseCommand ¶
GetBaseCommand returns the base command
func (*Blueprint) GetCommandFormat ¶
GetCommandFormat returns the command format without the "Run the shell command" prefix
func (*Blueprint) GetInputSchema ¶
func (bp *Blueprint) GetInputSchema() interface{}
GetInputSchema returns the input schema
type FieldToken ¶
type FieldToken struct {
Name string
Description string
Required bool
IsArray bool // Indicates if this field represents an array (has ...)
OriginalFlag string // For boolean flags, stores the original flag format (e.g., "-f", "--verbose")
}
FieldToken represents a template field in a shell word
func (FieldToken) String ¶
func (t FieldToken) String() string
Click to show internal directories.
Click to hide internal directories.