Skip to content

Accept --json-body - to read body from stdin.#1349

Open
jmcarp wants to merge 1 commit intomainfrom
jmcarp/body-stdin
Open

Accept --json-body - to read body from stdin.#1349
jmcarp wants to merge 1 commit intomainfrom
jmcarp/body-stdin

Conversation

@jmcarp
Copy link
Copy Markdown

@jmcarp jmcarp commented Apr 13, 2026

So that we can write something like echo '{...}' | oxide instance create --json-body -. Analogous to the existing oxide api --input -.

@jmcarp jmcarp force-pushed the jmcarp/body-stdin branch from f52a9a0 to 62247c0 Compare April 13, 2026 15:32
@ahl
Copy link
Copy Markdown
Collaborator

ahl commented Apr 19, 2026

Will take a look; --json-body /dev/stdin may be a workaround in the meantime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants