Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentConfig ¶
AgentConfig represents the configuration for generating an agent
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager handles template operations
func NewWithDir ¶
NewWithDir creates a new template manager with custom templates directory
func (*Manager) Generate ¶
func (m *Manager) Generate(projectDir string, config *AgentConfig) error
Generate generates a new agent project from a template
func (*Manager) GetTemplateInfo ¶
func (m *Manager) GetTemplateInfo(templateName string) (*TemplateInfo, error)
GetTemplateInfo returns information about a template
func (*Manager) ListTemplates ¶
ListTemplates returns available templates
type TemplateInfo ¶
type TemplateInfo struct {
Name string `yaml:"name"`
Description string `yaml:"description"`
Author string `yaml:"author,omitempty"`
Version string `yaml:"version,omitempty"`
Runtimes []string `yaml:"runtimes"`
Tags []string `yaml:"tags,omitempty"`
}
TemplateInfo represents template information
Click to show internal directories.
Click to hide internal directories.