oxidecomputer / oxidecomputer/progenitor

cargo-progenitor: add pipe support

Open
#1,382 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1k
Forks
136
Avg merge
8h 36m
Merged PRs (30d)
14

Description

example:

echo "openapi: 3.0.3..." | cargo progenitor \
	--input /dev/stdin \
	--output packages/generated/rust \
	--name models \
	--version 0.1.0

or without --input at all (read stdin by default)

echo "openapi: 3.0.3..." | cargo progenitor \
	--output packages/generated/rust \
	--name models \
	--version 0.1.0

Contributor guide

No contributing guide indexed for this repository

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 cargo progenitor CLI entry point and its handling of the --input option. Try the two stdin examples from the issue, then add coverage showing that /dev/stdin and omitted --input accept piped OpenAPI input and produce the requested output.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.