command

package
v1.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2026 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenerateContextCommand

type GenerateContextCommand struct {
	// contains filtered or unexported fields
}

GenerateContextCommand orchestrates LLM-based context file generation.

func NewGenerateContextCommand

func NewGenerateContextCommand(
	llmProvider service.LLMProvider,
	fileWriter service.FileWriter,
	directoryManager service.DirectoryManager,
) *GenerateContextCommand

NewGenerateContextCommand creates a new GenerateContextCommand.

func (*GenerateContextCommand) Execute

func (c *GenerateContextCommand) Execute(
	ctx context.Context,
	config *dto.ProjectConfig,
	templateGuides []service.TemplateGuide,
) (*dto.GenerationResult, error)

Execute runs the full context generation pipeline: 1. Build generation request from config + templates 2. Call LLM provider 3. Create output directories 4. Write generated files to disk (AGENTS.md at root, rest in context/)

type GenerateProjectCommand

type GenerateProjectCommand struct {
	// contains filtered or unexported fields
}

GenerateProjectCommand representa el comando para generar un proyecto

func NewGenerateProjectCommand

func NewGenerateProjectCommand(
	projectRepo project.Repository,
	projectGen *service.ProjectGenerator,
) *GenerateProjectCommand

NewGenerateProjectCommand crea una nueva instancia del comando

func (*GenerateProjectCommand) Execute

Execute ejecuta el comando de generacion de proyecto

type GenerateSkillsCommand

type GenerateSkillsCommand struct {
	// contains filtered or unexported fields
}

GenerateSkillsCommand orchestrates LLM-based Agent Skills generation.

func NewGenerateSkillsCommand

func NewGenerateSkillsCommand(
	llmProvider service.LLMProvider,
	fileWriter service.FileWriter,
	directoryManager service.DirectoryManager,
) *GenerateSkillsCommand

NewGenerateSkillsCommand creates a new GenerateSkillsCommand.

func (*GenerateSkillsCommand) Execute

func (c *GenerateSkillsCommand) Execute(
	ctx context.Context,
	config *dto.SkillsConfig,
	templateGuides []service.TemplateGuide,
) (*dto.GenerationResult, error)

Execute runs the skills generation pipeline: 1. Build generation request in skills mode 2. Call LLM provider (one call per skill) 3. Create per-skill output directories 4. Write SKILL.md files to disk

type GenerateSpecCommand

type GenerateSpecCommand struct {
	// contains filtered or unexported fields
}

GenerateSpecCommand orchestrates LLM-based spec file generation from existing context.

func NewGenerateSpecCommand

func NewGenerateSpecCommand(
	llmProvider service.LLMProvider,
	fileWriter service.FileWriter,
	directoryManager service.DirectoryManager,
) *GenerateSpecCommand

NewGenerateSpecCommand creates a new GenerateSpecCommand.

func (*GenerateSpecCommand) Execute

func (c *GenerateSpecCommand) Execute(
	ctx context.Context,
	config *dto.SpecConfig,
	existingContext string,
	templateGuides []service.TemplateGuide,
) (*dto.GenerationResult, error)

Execute runs the spec generation pipeline: 1. Build generation request with existing context and spec mode 2. Call LLM provider 3. Create specs output directory 4. Write generated spec files to disk

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL