Skip to content

Conversation

@svix-jbrown
Copy link
Contributor

Right now, all of the JSON bodies for svix-cli actions (some of which can be quite large) need to be specified as command-line arguments. This is sort of annoying for testing.

This allows you to specify any of the JSON types as the string "-", in which case it will be read from stdin. Obviously you can only do this once per command line, because there's only one stdin.

This is fairly typical behavior of a UNIX command.

@svix-jbrown svix-jbrown marked this pull request as ready for review November 5, 2025 22:29
@svix-jbrown svix-jbrown requested a review from a team as a code owner November 5, 2025 22:29
svix-jplatte
svix-jplatte previously approved these changes Nov 10, 2025
@svix-jbrown svix-jbrown merged commit 7fcd42b into main Nov 11, 2025
13 checks passed
@svix-jbrown svix-jbrown deleted the jbrown/msg-create-stdin branch November 11, 2025 16:24
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.

3 participants