uv run
with stdin
#6467
Labels
enhancement
New feature or improvement to existing functionality
help wanted
Contribution especially encouraged
inspired by https://docs.astral.sh/uv/guides/scripts/#declaring-script-dependencies and some tweets being able to just send someone a command and boom they can run a py script
MRE:
Short dash(-) here represents stdin, similar to how k8s allows:
Some more details and how kubectl does it (in go tho ofc) https://stackoverflow.com/a/72168173/9992341 and https://github.com/kubernetes/cli-runtime/blob/v0.21.0/pkg/resource/builder.go#L245
basically turns any snippet someone else wants to run with
The text was updated successfully, but these errors were encountered: