Automattic / Automattic/juice

Allow juice to run with stdin and stdout if no filenames passed

Open
#242 4 comments 3 reactions 0 assignees View on GitHub
Suggested Feature
Dominant language
JavaScript
Stars
3.3k
Forks
233
Avg merge
1d 10h
Merged PRs (30d)
8

Description

I'd like to be able to use juice to pipe from stdin and send to stdout, for example when using a filter in vim. I know I can do `juice /dev/stdin /dev/stdout`, but it would be more elegant to just execute juice without arguments, or at least support `-` for stdin/stdout.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by locating the CLI entry point and its handling of missing arguments, then compare the existing /dev/stdin and /dev/stdout behavior with the requested no-argument or '-' forms. Done means juice can read stdin and write stdout when invoked as a filter, with coverage for the supported invocation.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.