Claude
ff13012408
fix: address functionality gaps identified in code review
...
- Wire up --config/-f flag to actually load custom config files
- Move config loading to PersistentPreRunE in root.go
- Simplify main.go to just call cmd.Execute()
- Move Playwright init to web command's PreRunE/PostRunE
- Remove unused functions from cmd/web.go (~90 lines of dead code)
- Remove writeSingleFile, writeMultipleFiles, generateDefaultFilename
- Remove scrapeURL, extractAndConvertContent, testExtractAndConvertContent
- Remove unused mock function from web_test.go
- Add OutputType validation to Config.Validate()
- Only allow "single", "separate", or empty string
- Add test cases for valid and invalid output types
2025-11-27 16:05:42 +00:00
Arik Jones (aider)
31e0fa5ea4
fix: Remove redeclaration of cfg variable in cmd/root.go
2024-09-22 17:07:57 -05:00
Arik Jones (aider)
2e563836f3
feat: add generate subcommand for creating rollup.yml config
2024-09-19 12:08:09 -05:00
Arik Jones
160a15dbb1
fix: Use logger instead of log. Move web subcommand initialization to root.go
2024-09-19 11:44:27 -05:00
Arik Jones (aider)
eabf1ba23f
feat: add files subcommand and refactor rollup functionality
2024-09-19 11:38:09 -05:00
Arik Jones
eba453f09e
fix: rollup output file name (again)
2024-09-19 11:02:35 -05:00
Arik Jones
d3ba28d03b
fix: Output markdown files should end in *.rollup.md
2024-09-19 10:56:00 -05:00
Arik Jones
197f3affc7
fix: Don't use PersistentPreRunE. Caused the actuall runRollup function to never run.
2024-09-19 10:43:23 -05:00
Arik Jones (aider)
056c3e368e
fix: Update import and usage of Config type in cmd/root.go
2024-09-16 09:53:44 -05:00
Arik Jones (aider)
21d3e8ee68
fix: Handle missing configuration file for help command
2024-09-16 09:52:48 -05:00
Arik Jones (aider)
efee186ae0
fix: Skip config loading and rollup execution for help command
2024-09-16 09:52:25 -05:00
Arik Jones
bb12e3d029
fix: Something in root
2024-09-14 21:25:50 -05:00
Arik Jones (aider)
a6ebf0062a
fix: Add --verbose flag to web subcommand
2024-09-14 20:41:23 -05:00
Arik Jones (aider)
23508df6f4
feat: Add optional logging to the scraper
2024-09-14 19:59:02 -05:00
Arik Jones (aider)
bfd70fd786
fix: Add import for scraper package in cmd/root.go
2024-09-14 15:17:18 -05:00
Arik Jones (aider)
8b85d755af
fix: Update Execute function to accept configuration and scraper config
2024-09-14 15:17:00 -05:00
Arik Jones (aider)
f376f186c2
fix: Update cmd/root.go to use the correct field name for ignore patterns
2024-09-05 23:08:38 -05:00
Arik Jones (aider)
876b2d8917
refactor: Update field names and comment out undefined function call
2024-09-05 23:07:51 -05:00
Arik Jones (aider)
4caf6f5646
fix: Update cfg.IgnorePatterns to cfg.Ignore in cmd/root.go
2024-09-05 23:07:15 -05:00
Arik Jones (aider)
431d084d2c
fix: Resolve cfg redeclaration and update ignore patterns field
2024-09-05 23:06:44 -05:00
Arik Jones (aider)
5824f362b6
feat: Add ability to ignore specific files and/or file globs
2024-09-05 23:05:52 -05:00
Arik Jones
3d2a42ddc2
feat: Add support for configuration file
2024-09-05 23:05:51 -05:00
Arik Jones
7dd149417a
Initial commit
2024-09-03 10:50:10 -05:00