[PR #51] [MERGED] feat: add support for piped input to CLI #9523

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

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/51
Author: @ezynda3
Created: 5/22/2025
Status: Merged
Merged: 5/23/2025
Merged by: @adamdotdevin

Base: devHead: accept-piped-input


📝 Commits (1)

  • f3d6bac feat: add support for piped input to CLI

📊 Changes

3 files changed (+187 additions, -1 deletions)

View changed files

📝 README.md (+14 -1)
📝 cmd/root.go (+30 -0)
cmd/root_test.go (+143 -0)

📄 Description

  • Implement feature to handle text piped into the CLI
  • Treat piped input the same as if --prompt flag was used
  • Add tests for the new functionality
  • Update README with documentation and examples

🔄 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/51 **Author:** [@ezynda3](https://github.com/ezynda3) **Created:** 5/22/2025 **Status:** ✅ Merged **Merged:** 5/23/2025 **Merged by:** [@adamdotdevin](https://github.com/adamdotdevin) **Base:** `dev` ← **Head:** `accept-piped-input` --- ### 📝 Commits (1) - [`f3d6bac`](https://github.com/anomalyco/opencode/commit/f3d6bac4b882dc1c7d5b9350df48d59bf165ef5d) feat: add support for piped input to CLI ### 📊 Changes **3 files changed** (+187 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+14 -1) 📝 `cmd/root.go` (+30 -0) ➕ `cmd/root_test.go` (+143 -0) </details> ### 📄 Description - Implement feature to handle text piped into the CLI - Treat piped input the same as if --prompt flag was used - Add tests for the new functionality - Update README with documentation and examples --- <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:13:42 -05:00
yindo closed this issue 2026-02-16 18:13:42 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9523