jeremieca / pulsion

Pulsion centralize all commands of your project in one unique place with no pain.
5 stars 2 forks source link

Steams : helpers ideas #3

Open arnaudhe opened 8 years ago

arnaudhe commented 8 years ago

I think those streams helpers would be usefull:

stream::replace"regex with the (token) I want to be replaced" "new" to replace "token" in the matched regex by "new"

stream::from-file even if it is only a cat command, it might be more readable

jeremieca commented 8 years ago

No problem for the stream::replace.

About from file, I'm not sure that its a good idea. We are just renaming a bash function. And which is the limit ? Why not create stream::fromurl (curl)... ?