[root@localhost tmp]# npm install -g waoffle
/usr/local/bin/waoffle -> /usr/local/lib/node_modules/waoffle/lib/parse.js
/usr/local/bin/rwaoffle -> /usr/local/lib/node_modules/waoffle/lib/generate.js
+ waoffle@1.1.2
added 1 package from 1 contributor in 1.743s
$ cat appendonly.aof | waoffle # Pipe from other UNIX commands
$ waoffle < appendonly.aof # or, pipe directly from stdin
$ waoffle appendonly.aof # or, just specify the filename
waoffle<appendonly.aof
重定向到文件
waoffle < /tmp/appendonly.aof > /tmp/generated_commands.txt