topheman / snake-pipe-rust

🦀 A snake game based on stdin/stdout (+tcp and unix sockets) in rust
MIT License
12 stars 1 forks source link

[Feat] `snakepipe pipeline` should output pre-configured pipelines to be piped into pbcopy #32

Closed topheman closed 7 months ago

topheman commented 7 months ago

Example:

snakepipe pipeline play|pbcopy
# same as snakepipe gamestate|snakepipe render

should accept a —list flag or override the —help flag in order to list the content of all the pipelines at one time.

Note: it can't be piped to sh, since it would lanch a subshell (we need the render/user events/stdout happen in the current shell).