summaryrefslogtreecommitdiff
path: root/internal/cli/showcase_handler.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-10-31 20:13:32 +0200
committerPaul Buetow <paul@buetow.org>2025-10-31 20:13:32 +0200
commit11eea6a82cbfdde40ec1457c6ea080da4da6b7dc (patch)
tree8026068f6a3beb3ee02c45f06f4487f4b89caaf1 /internal/cli/showcase_handler.go
parent5c3e0b5cf99d028c4f06be7a825388b296e37a22 (diff)
feat: implement amp AI tool support and replace Taskfile with Magev0.10.0
- Add amp as default AI tool for release notes and showcase generation - Fallback chain: amp → hexai → claude → aichat - Replace Taskfile.yaml with magefile.go for build automation - Update all documentation (README.md, AGENTS.md, doc/development.md) - Update version to 0.10.0 Amp-Thread-ID: https://ampcode.com/threads/T-735ba1e2-0255-4b43-8ed1-6c0d2f78301b Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'internal/cli/showcase_handler.go')
-rw-r--r--internal/cli/showcase_handler.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/cli/showcase_handler.go b/internal/cli/showcase_handler.go
index 929ce95..642313f 100644
--- a/internal/cli/showcase_handler.go
+++ b/internal/cli/showcase_handler.go
@@ -20,21 +20,21 @@ func HandleShowcase(cfg *config.Config, flags *Flags) int {
// Process all repositories for --sync-all or public sync operations
fmt.Println("\nGenerating project showcase for all repositories...")
}
-
+
// Create showcase generator
generator := showcase.New(cfg, flags.WorkDir)
-
+
// Set AI tool if specified
if flags.AITool != "" {
generator.SetAITool(flags.AITool)
}
-
+
// Generate showcase with optional filter
if err := generator.GenerateShowcase(repoFilter, flags.Force); err != nil {
log.Printf("ERROR: Failed to generate showcase: %v\n", err)
return 1
}
-
+
fmt.Println("Showcase generated successfully!")
return 0
-} \ No newline at end of file
+}