Command Overview
Termiflow provides a simple set of commands designed to feel native to your terminal workflow. All commands support --help for detailed usage information.
| Command | Description |
|---|---|
| ask | Ask a question and get an AI-powered answer with sources |
| subscribe | Subscribe to a topic for curated updates |
| unsubscribe | Remove a topic subscription |
| feed | Display curated feed items from subscriptions |
| topics | List available predefined topics and current subscriptions |
| config | View and modify configuration |
| version | Show version and build information |
ask
Core
Ask a question and get an AI-powered answer synthesized from multiple sources. Results are streamed to your terminal in real-time with source attribution.
| Flag | Type | Description | Default |
|---|---|---|---|
| --sources | int | Number of sources to retrieve and synthesize | 5 |
| --no-search | bool | Use LLM knowledge only, skip web search | false |
| --save | bool | Save query and response to history | false |
| --provider | string | LLM provider: openai, anthropic, or local | config |
subscribe
Core
Subscribe to a topic for curated updates. You can subscribe to predefined categories or create custom free-form topics. Updates are fetched and curated by AI based on your chosen frequency.
| Flag | Type | Description | Default |
|---|---|---|---|
| --hourly | bool | Get updates every hour | false |
| --daily | bool | Get updates once per day | true |
| --weekly | bool | Get updates once per week | false |
| --sources | string | Comma-separated source types: tavily, rss, scrape | all |
unsubscribe
Remove a topic subscription. Your existing feed items for that topic are preserved unless you run a cleanup.
| Flag | Type | Description | Default |
|---|---|---|---|
| --all | bool | Unsubscribe from all topics (requires confirmation) | false |
| --force | bool | Skip confirmation prompt | false |
feed
Core
Display curated feed items from your subscriptions. Items are sorted by relevance and recency, with AI-generated summaries and tags.
| Flag | Type | Description | Default |
|---|---|---|---|
| --topic | string | Filter feed by subscription topic | all |
| --today | bool | Show only today's items | false |
| --week | bool | Show items from the past week | false |
| --limit | int | Maximum number of items to display | 20 |
| --refresh | bool | Fetch new items before displaying | false |
| --all | bool | Include already-read items | false |
topics
List available predefined topics and your current subscriptions. Predefined topics come with curated sources and optimized search keywords.
| Flag | Type | Description | Default |
|---|---|---|---|
| --available | bool | Show only predefined categories | false |
| --subscribed | bool | Show only your active subscriptions | false |
config
View and modify termiflow configuration. Configuration is stored in ~/.config/termiflow/config.toml. API keys can also be set via environment variables.
| Command | Arguments | Description | |
|---|---|---|---|
| init | — | Interactive first-time setup wizard | |
| get | <key> | Get a configuration value | |
| set | <key> <value> | Set a configuration value | |
| --edit | — | Open config file in $EDITOR | |
| path | — | Print config file location |
version
Display version information including build date, git commit, Go version, and platform.