[PR #1230] [MERGED] feat(tui): support pipe into tui #9855

Closed
opened 2026-02-16 18:14:17 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1230
Author: @rekram1-node
Created: 7/22/2025
Status: Merged
Merged: 7/22/2025
Merged by: @adamdotdevin

Base: devHead: feat/support-piping


📝 Commits (1)

  • 16bb01c feat: support pipe into tui

📊 Changes

1 file changed (+25 additions, -0 deletions)

View changed files

📝 packages/tui/cmd/opencode/main.go (+25 -0)

📄 Description

Fixes: #472

This functions basically the same as how claude code would.

You can use it like:

cat text.txt | opencode -p "explain file:"

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/1230 **Author:** [@rekram1-node](https://github.com/rekram1-node) **Created:** 7/22/2025 **Status:** ✅ Merged **Merged:** 7/22/2025 **Merged by:** [@adamdotdevin](https://github.com/adamdotdevin) **Base:** `dev` ← **Head:** `feat/support-piping` --- ### 📝 Commits (1) - [`16bb01c`](https://github.com/anomalyco/opencode/commit/16bb01c03a6716a66b7d188a3b1602161837acf0) feat: support pipe into tui ### 📊 Changes **1 file changed** (+25 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/tui/cmd/opencode/main.go` (+25 -0) </details> ### 📄 Description Fixes: #472 This functions basically the same as how claude code would. You can use it like: ``` cat text.txt | opencode -p "explain file:" ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:17 -05:00
yindo closed this issue 2026-02-16 18:14:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9855