diff options
Diffstat (limited to 'internal/cmd')
| -rw-r--r-- | internal/cmd/showcase.go | 6 | ||||
| -rw-r--r-- | internal/cmd/sync.go | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/internal/cmd/showcase.go b/internal/cmd/showcase.go index a590756..c48dee1 100644 --- a/internal/cmd/showcase.go +++ b/internal/cmd/showcase.go @@ -22,7 +22,7 @@ var showcaseCmd = &cobra.Command{ Short: "Generate AI-powered project showcase", Long: `Generate a comprehensive showcase of all your projects using AI. This feature creates a formatted document with project summaries, statistics, -and code snippets. By default uses amp, with fallback to hexai, claude, and aichat.`, +and code snippets. By default uses opencode (local Ollama), with fallback to amp, hexai, claude, and aichat.`, Example: ` # Generate showcase with cached summaries gitsyncer showcase @@ -39,7 +39,7 @@ and code snippets. By default uses amp, with fallback to hexai, claude, and aich gitsyncer showcase --exclude "test-.*" # Use a specific AI tool - gitsyncer showcase --ai-tool amp`, + gitsyncer showcase --ai-tool opencode`, Run: func(cmd *cobra.Command, args []string) { flags := buildFlags() flags.Showcase = true @@ -63,6 +63,6 @@ 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", "amp", "AI tool for summaries: amp, hexai, claude, claude-code, or aichat (default tries amp→hexai→claude→aichat)") + showcaseCmd.Flags().StringVar(&showcaseAITool, "ai-tool", "opencode", "AI tool for summaries: opencode, amp, hexai, claude, claude-code, or aichat (default tries opencode→amp→hexai→claude→aichat)") showcaseCmd.Flags().StringVar(&showcaseRepo, "repo", "", "only generate showcase for a single repository") } diff --git a/internal/cmd/sync.go b/internal/cmd/sync.go index 5681ccc..75d8c88 100644 --- a/internal/cmd/sync.go +++ b/internal/cmd/sync.go @@ -47,8 +47,8 @@ var syncRepoCmd = &cobra.Command{ # Sync without AI-generated release notes gitsyncer sync repo myproject --no-ai-release-notes - # Auto-create releases using amp for AI notes -gitsyncer sync repo myproject --auto-create-releases --ai-tool amp`, + # Auto-create releases using opencode for AI notes (default) +gitsyncer sync repo myproject --auto-create-releases --ai-tool opencode`, Run: func(cmd *cobra.Command, args []string) { flags := buildFlags() flags.SyncRepo = args[0] @@ -194,7 +194,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", "amp", "AI tool to use for release notes when auto-creating (amp, claude, aichat, or hexai; amp is tried first if available)") + syncCmd.PersistentFlags().StringVar(&syncAITool, "ai-tool", "opencode", "AI tool to use for release notes when auto-creating (opencode, amp, claude, aichat, or hexai; opencode is tried first if available)") syncCmd.PersistentFlags().BoolVarP(&syncForce, "force", "f", false, "force sync even if normal sync interval checks would skip a repository") syncCmd.PersistentFlags().BoolVar(&throttle, "throttle", false, "throttle syncing based on local repo activity") } |
