Skip to content

feat: add auto-quit flag to fetch command#27

Open
shokk wants to merge 3 commits into
robertguss:mainfrom
shokk:feat/auto-quit-flag
Open

feat: add auto-quit flag to fetch command#27
shokk wants to merge 3 commits into
robertguss:mainfrom
shokk:feat/auto-quit-flag

Conversation

@shokk
Copy link
Copy Markdown

@shokk shokk commented Mar 5, 2026

  • Add --auto-quit flag to automatically exit after fetch completes
  • Update fetchui.Model to accept and handle autoQuit parameter
  • When flag is set, TUI quits immediately after FinalSummaryMsg instead of waiting for user input
  • Useful for scripting

shokk and others added 2 commits March 5, 2026 15:35
- Add --auto-quit flag to automatically exit after fetch completes
- Update fetchui.Model to accept and handle autoQuit parameter
- When flag is set, TUI quits immediately after FinalSummaryMsg instead of waiting for user input
- Useful for scripting and CI/CD pipelines
- Add UserAgent field to Config with USER_AGENT env var support
- Add SetUserAgent() to article/fetch.go for runtime configuration
- Apply user agent from config in read command
- Add commented user_agent example to configs/config.yaml

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@shokk
Copy link
Copy Markdown
Author

shokk commented Mar 15, 2026

Added the --auto-quit flag so that the interface just stops after everything is gathered. Also added a User-agent config to override the default.

Adds `config` subcommand with list, add, delete, and edit operations
for managing RSS feed sources in config.yaml without manual editing.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant