1.2: Feature Request: Sample-Program which reads and writes to stdin resp. stdout
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.1k
- Forks
- 122
- Avg merge
- 10h 37m
- Merged PRs (30d)
- 2
Description
It would be great to have an example cli-program with usage:
sample-program --output
if --output is missing, output will be written to stdout; if input-file is missing, input is read from stdin.
Thanks.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the book's existing CLI examples and determine where a sample program belongs. Implement the documented sample-program --output <optional-output-file> <optional-input-file> behavior, using stdin and stdout when the respective paths are omitted, and verify the example's usage and I/O behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, documentation
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100