so.. I was creating a redis-cli script to demonstrate my module, and didn’t find any way to add comments to the script. So as an added bonus I wrote an elaborate module to add that feature:
https://github.com/picotera/commentDis
you run it using:
/path/to/redis-server --loadmodule path/to/your/module.so --loadmodule path/to/comment/module.so
Enjoy!
--
You received this message because you are subscribed to the Google Groups "redis-module-devs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-module-devs+unsubscribe@googlegroups.com.
To post to this group, send email to redis-module-devs@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/redis-module-devs/CAJ7N2ZDfr%2BiK6RFYDw6_xDmAfNU6%3D6dyUP2HKJqLpo9nj9CWWg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Alternatively you could use the PING (in newer releases) or ECHO (everywhere) commands.ECHO "Setting foo to bar"SET foo bar
On Wed, Nov 23, 2016 at 9:22 AM, Adam Lev-Libfeld <ad...@tamarlabs.com> wrote:
so.. I was creating a redis-cli script to demonstrate my module, and didn’t find any way to add comments to the script. So as an added bonus I wrote an elaborate module to add that feature:
https://github.com/picotera/commentDisyou run it using:
/path/to/redis-server --loadmodule path/to/your/module.so --loadmodule path/to/comment/module.so
Enjoy!
ᐧ
--
You received this message because you are subscribed to the Google Groups "redis-module-devs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-module-d...@googlegroups.com.
To post to this group, send email to redis-mo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/redis-module-devs/CAJ7N2ZDfr%2BiK6RFYDw6_xDmAfNU6%3D6dyUP2HKJqLpo9nj9CWWg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--Salvatore 'antirez' Sanfilippo
open source developer - Redis Labs https://redislabs.com
"If a system is to have conceptual integrity, someone must control the concepts."
— Fred Brooks, "The Mythical Man-Month", 1975.
--
You received this message because you are subscribed to the Google Groups "redis-module-devs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-module-d...@googlegroups.com.
To post to this group, send email to redis-mo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/redis-module-devs/CA%2BXzkVd9yr64zKPR%2BWz9%2B9dtkKun3o%2BAdqHUBPXE0NARoP2OBw%40mail.gmail.com.