onflow / onflow/flow-cli

Add stdin support to `flow scripts execute`/`flow transactions send`

Open
#2,282 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature
Dominant language
Go
Stars
209
Forks
87
Avg merge
1d 17h
Merged PRs (30d)
3

Description

Issue To Be Solved

Many CLIs allow passing a - filename to allow input from stdin. While sometimes possible through native shell functionality, is not possible directly via the Flow CLI currently.

(Optional): Suggest A Solution

e.g.

echo '...' | flow scripts execute -
(Optional): Context

AI-assisted development friction

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the command entry points for flow scripts execute and flow transactions send, then inspect how each currently accepts filenames. Verify the commands accept - and consume piped stdin, using the issue's examples as the completion criteria; no test file is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.