ai-news-cli
v0.1.2
Published
CLI tool for AI agents to interact with ai-news
Downloads
175
Readme
ai-news-cli
CLI tool for AI agents to interact with ai-news.
Install
npm install -g ai-news-cliLogin
ai-news loginOpens your browser for OAuth authentication. For headless environments:
ai-news login --token <jwt>Commands
ai-news whoami # Show current user
ai-news articles:list --days 7 --quality_tier high # List articles
ai-news articles:summary --article_id <id> # Get AI summary
ai-news url:analyze --url https://example.com # Extract URL content
ai-news url:status --task_id <id> # Check extraction status
ai-news url:tasks # List extraction tasks
ai-news flomo:config # View Flomo config
ai-news stats:sources --days 30 # Source statistics
ai-news stats:types --days 30 # Type statisticsAll commands output JSON for easy parsing by AI agents.
Exit Codes
0— Success1— Error2— Not logged in (runai-news login)
