summaryrefslogtreecommitdiff
path: root/internal/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cmd')
-rw-r--r--internal/cmd/release.go13
-rw-r--r--internal/cmd/showcase.go4
-rw-r--r--internal/cmd/sync.go4
3 files changed, 11 insertions, 10 deletions
diff --git a/internal/cmd/release.go b/internal/cmd/release.go
index f9fa04f..9f4e713 100644
--- a/internal/cmd/release.go
+++ b/internal/cmd/release.go
@@ -16,10 +16,11 @@ var (
)
var releaseCmd = &cobra.Command{
- Use: "release",
- Short: "Manage releases across platforms",
- Long: `Check for version tags without releases and create them across
-GitHub and Codeberg. Supports AI-generated release notes using Claude.`,
+ Use: "release",
+ Short: "Manage releases across platforms",
+ Long: `Check for version tags without releases and create them across
+GitHub and Codeberg. Supports AI-generated release notes via hexai (stdin pipeline),
+with fallback to Claude or aichat.`,
}
var releaseCheckCmd = &cobra.Command{
@@ -108,5 +109,5 @@ func init() {
releaseCreateCmd.Flags().BoolVar(&noAINotes, "no-ai-notes", false, "disable AI-generated release notes (AI notes are enabled by default)")
releaseCreateCmd.Flags().BoolVar(&updateExisting, "update-existing", false, "update existing releases with new AI-generated notes")
releaseCreateCmd.Flags().StringVar(&templatePath, "template", "", "custom template for release notes")
- releaseCreateCmd.Flags().StringVar(&aiTool, "ai-tool", "claude", "AI tool to use for release notes (claude or aichat)")
-} \ No newline at end of file
+ releaseCreateCmd.Flags().StringVar(&aiTool, "ai-tool", "claude", "AI tool to use for release notes (claude or aichat; hexai is tried first if available)")
+}
diff --git a/internal/cmd/showcase.go b/internal/cmd/showcase.go
index 802cf10..7785d6f 100644
--- a/internal/cmd/showcase.go
+++ b/internal/cmd/showcase.go
@@ -59,5 +59,5 @@ func init() {
showcaseCmd.Flags().StringVarP(&outputPath, "output", "o", "", "custom output path (default: ~/git/foo.zone-content/gemtext/about/showcase.gmi.tpl)")
showcaseCmd.Flags().StringVar(&outputFormat, "format", "gemtext", "output format: gemtext, markdown, html")
showcaseCmd.Flags().StringVar(&excludePattern, "exclude", "", "exclude repos matching pattern")
- showcaseCmd.Flags().StringVar(&showcaseAITool, "ai-tool", "claude", "AI tool to use for project summaries (claude or aichat)")
-} \ No newline at end of file
+ showcaseCmd.Flags().StringVar(&showcaseAITool, "ai-tool", "claude", "AI tool to use for project summaries (claude or aichat)")
+}
diff --git a/internal/cmd/sync.go b/internal/cmd/sync.go
index 9fcf0fd..86505d5 100644
--- a/internal/cmd/sync.go
+++ b/internal/cmd/sync.go
@@ -189,7 +189,7 @@ func init() {
syncCmd.PersistentFlags().BoolVar(&noReleases, "no-releases", false, "skip release checking after sync")
syncCmd.PersistentFlags().BoolVar(&autoCreate, "auto-create-releases", false, "automatically create releases without confirmation")
syncCmd.PersistentFlags().BoolVar(&noAIReleaseNotes, "no-ai-release-notes", false, "disable AI-generated release notes (AI notes are enabled by default)")
- syncCmd.PersistentFlags().StringVar(&syncAITool, "ai-tool", "claude", "AI tool to use for release notes when auto-creating (claude or aichat)")
+ syncCmd.PersistentFlags().StringVar(&syncAITool, "ai-tool", "claude", "AI tool to use for release notes when auto-creating (claude or aichat; hexai is tried first if available)")
}
func buildFlags() *cli.Flags {
@@ -205,4 +205,4 @@ func buildFlags() *cli.Flags {
CreateGitHubRepos: createRepos,
CreateCodebergRepos: createRepos,
}
-} \ No newline at end of file
+}