Open A-xis opened 9 years ago
A !grep
command is easy once we have:
In the current (rc
) implementation, this is not cool because commands write their results directly to the Cinch framework, so VikiLinkBot::Shell
has no way to redirect them (i.e. the pipe is impossible). However, on the dev
branch, commands are iterators that simply emit text without bothering where it lands (and it's VikiLinkBot::Shell
's job to transmit it to Cinch), so piping is definitely possible, easy and handy. Will do.
It should be a good idea to implemente some grep functionnality!