{"modulePath":"github.com/getlawrence/cli","version":"v0.1.0-beta.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package dependency\n\n## Types\n\n```go\ntype DependencyMetadata struct {\n\tDescription     string   `json:\"description,omitempty\"`\n\tRepository      string   `json:\"repository,omitempty\"`\n\tLicense         string   `json:\"license,omitempty\"`\n\tStatus          string   `json:\"status,omitempty\"`\n\tSupportLevel    string   `json:\"support_level,omitempty\"`\n\tDocumentation   string   `json:\"documentation,omitempty\"`\n\tLatestVersion   string   `json:\"latest_version,omitempty\"`\n\tBreakingChanges []string `json:\"breaking_changes,omitempty\"`\n}\n```\nDependencyMetadata contains additional information about a dependency\n\n```go\ntype DependencyWriter struct {\n\t// contains filtered or unexported fields\n}\n```\nDependencyWriter handles adding dependencies to projects using the new modular system\n\n```go\nfunc NewDependencyWriter(l logger.Logger, kb *knowledge.Knowledge) *DependencyWriter\n```\nNewDependencyWriter creates a new dependency manager using the modular orchestrator\n\n```go\nfunc (dm *DependencyWriter) AddDependencies(\n\tctx context.Context,\n\tprojectPath string,\n\tlanguage string,\n\toperationsData *generatorTypes.OperationsData,\n\treq generatorTypes.GenerationRequest,\n) error\n```\nAddDependencies adds required dependencies to the project\n\n```go\nfunc (dm *DependencyWriter) GetEnhancedDependencies(language string, operationsData *generatorTypes.OperationsData) ([]EnhancedDependency, error)\n```\nGetEnhancedDependencies returns enhanced dependency information using the unified client\n\n```go\nfunc (dm *DependencyWriter) GetRequiredDependencies(language string, operationsData *generatorTypes.OperationsData) ([]types.Dependency, error)\n```\nGetRequiredDependencies returns all dependencies that would be added for the given operations\n\n```go\nfunc (dm *DependencyWriter) GetSupportedLanguages() []string\n```\nGetSupportedLanguages returns all languages supported by dependency management\n\n```go\nfunc (dm *DependencyWriter) ValidateProjectStructure(projectPath, language string) error\n```\nValidateProjectStructure checks if the project has the required dependency management files\n\n```go\ntype EnhancedDependency struct {\n\tDependency types.Dependency\n\tMetadata   *DependencyMetadata\n}\n```\nEnhancedDependency represents a dependency with additional metadata\n\n","path":"github.com/getlawrence/cli/internal/codegen/dependency","name":"dependency","synopsis":"","isRedistributable":true}
