diff options
| author | Paul Buetow <paul@buetow.org> | 2025-07-07 23:25:10 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-07-07 23:25:10 +0300 |
| commit | 4526c8a171dbe40762c116e5b8a404f20131d2b1 (patch) | |
| tree | ea3d544cbad995dabb616f4b6136e6e24a097524 /internal/cli/flags.go | |
| parent | 64095a2c8d5a3a72c55d7bd0737c5542a5aeee09 (diff) | |
feat: add comprehensive showcase generation with metadata and images
- Add --showcase flag to generate project showcases using Claude
- Extract repository metadata (languages, commits, LOC, dates, license)
- Support image extraction from README files (local and remote)
- Add caching with --force flag to regenerate
- Add exclude_from_showcase config option
- Add standalone showcase mode (--showcase without sync)
- Sort projects by recent activity (avg age of last 100 commits)
- Output in Gemini Gemtext template format (.gmi.tpl)
- Fix backup location fetching when --backup flag not set
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'internal/cli/flags.go')
| -rw-r--r-- | internal/cli/flags.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/cli/flags.go b/internal/cli/flags.go index 322ad5a..7640398 100644 --- a/internal/cli/flags.go +++ b/internal/cli/flags.go @@ -25,6 +25,8 @@ type Flags struct { Clean bool DeleteRepo string Backup bool + Showcase bool + Force bool } // ParseFlags parses command-line flags and returns the flags struct @@ -50,6 +52,8 @@ func ParseFlags() *Flags { flag.BoolVar(&f.Clean, "clean", false, "delete all repositories in work directory (with confirmation)") flag.StringVar(&f.DeleteRepo, "delete-repo", "", "delete specified repository from all configured organizations (with confirmation)") flag.BoolVar(&f.Backup, "backup", false, "enable syncing to backup locations") + flag.BoolVar(&f.Showcase, "showcase", false, "generate project showcase using Claude after syncing") + flag.BoolVar(&f.Force, "force", false, "force regeneration of cached data") flag.Parse() |
