{"_id":"webot-cli","_rev":"36-21a2b4800bbc62c0c7dca04ddf60de72","name":"webot-cli","description":"Command line interface for weixin-robot","dist-tags":{"latest":"0.0.12"},"versions":{"0.0.1":{"name":"webot-cli","version":"0.0.1","description":"Command line interface for weixin-robot","main":"index.js","repository":{"type":"git","url":"https://github.com/node-webot/webot-cli.git"},"dependencies":{"colors":"~0.6.0","xml2js":"~0.2.6","commander":"~1.1.1","prettyjson":"~0.8.1","request":"~2.16.6","lodash":"~1.1.1","nopt":"~2.1.1"},"devDependencies":{},"bin":{"webot":"bin/webot"},"keywords":["weixin","webot","cli","wechat"],"author":{"name":"Jesse Yang","email":"kissmud@gmail.com"},"license":"MIT","_id":"webot-cli@0.0.1","dist":{"shasum":"3337462df65b3f169a8ab950129fec77a94b8ed5","tarball":"https://registry.npmjs.org/webot-cli/-/webot-cli-0.0.1.tgz","integrity":"sha512-RMkQn8rB6norCtgCfvCaxUrZuc1mn+L6MXDoJat7QcgMLFgbj1GyVcrigpHIqJP+L378FIh2m/b/Lns2c9WPXA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF653ICPLR8C1etyyTZaz6zWdC3Ne4HlbDwKVbgl1XVFAiBWyxVl4qVjF0/bA/r3i2DyOSpA1IbGmwtgtLvOD1alrQ=="}]},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"ktmud","email":"jyyjcc@gmail.com"},"maintainers":[{"name":"ktmud","email":"jyyjcc@gmail.com"}],"directories":{}},"0.0.1-1":{"name":"webot-cli","version":"0.0.1-1","description":"Command line interface for weixin-robot","main":"index.js","repository":{"type":"git","url":"https://github.com/node-webot/webot-cli.git"},"dependencies":{"colors":"~0.6.0","xml2js":"~0.2.6","commander":"~1.1.1","prettyjson":"~0.8.1","request":"~2.16.6","lodash":"~1.1.1","nopt":"~2.1.1"},"devDependencies":{},"bin":{"webot":"bin/webot"},"keywords":["weixin","webot","cli","wechat"],"author":{"name":"Jesse Yang","email":"kissmud@gmail.com"},"license":"MIT","_id":"webot-cli@0.0.1-1","dist":{"shasum":"74875df3b68187fdebf8c73bb05ff9663b98743e","tarball":"https://registry.npmjs.org/webot-cli/-/webot-cli-0.0.1-1.tgz","integrity":"sha512-5g1L4lB202djulE+1kInuyT1leohjEKtOhJam8rSRnnzWjha1fStOXOONNl3IJuLUa8HHgGNJrXe/Dsl8q8Wog==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3RQuAKR6uCtYh0LRzNW9hzBT2XX+lbhRdD7aLW3Ow/wIhAJG6qF+80wZx4FvIZXPUifMhivYXnJK3Lgo2+AXT7aHX"}]},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"ktmud","email":"jyyjcc@gmail.com"},"maintainers":[{"name":"ktmud","email":"jyyjcc@gmail.com"}],"directories":{}},"0.0.2":{"name":"webot-cli","version":"0.0.2","description":"Command line interface for weixin-robot","main":"index.js","repository":{"type":"git","url":"https://github.com/node-webot/webot-cli.git"},"dependencies":{"colors":"~0.6.0","xml2js":"~0.2.6","commander":"~1.1.1","prettyjson":"~0.8.1","request":"~2.16.6","lodash":"~1.1.1","nopt":"~2.1.1"},"devDependencies":{},"bin":{"webot":"bin/webot"},"keywords":["weixin","webot","cli","wechat"],"author":{"name":"Jesse Yang","email":"kissmud@gmail.com"},"license":"MIT","_id":"webot-cli@0.0.2","dist":{"shasum":"77e833fd1352c3ed93af341a7f889d681caba168","tarball":"https://registry.npmjs.org/webot-cli/-/webot-cli-0.0.2.tgz","integrity":"sha512-7sQfUK9/Nc1BJYMUDT/vJoYPK0SL71l2bXf+XehoBSfAYJRCeiSt3Vlm9dCiA0v2vUbX8HizBNSV0wdVMj+xPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE2D6Da8wfKtaT/W5YgsblYI0KR2I3n1Jag1mXZmEM1iAiEA1RiZe6Gm/m+mpG3H3zLhXmieepMKT3u6EODt1/5skYE="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"ktmud","email":"jyyjcc@gmail.com"},"maintainers":[{"name":"ktmud","email":"jyyjcc@gmail.com"}],"directories":{}},"0.0.2-1":{"name":"webot-cli","version":"0.0.2-1","description":"Command line interface for weixin-robot","main":"index.js","repository":{"type":"git","url":"https://github.com/node-webot/webot-cli.git"},"dependencies":{"colors":"~0.6.0","xml2js":"~0.2.6","commander":"~1.1.1","prettyjson":"~0.8.1","request":"~2.16.6","lodash":"~1.1.1","nopt":"~2.1.1"},"devDependencies":{},"bin":{"webot":"bin/webot"},"keywords":["weixin","webot","cli","wechat"],"author":{"name":"Jesse Yang","email":"kissmud@gmail.com"},"license":"MIT","_id":"webot-cli@0.0.2-1","dist":{"shasum":"42b1561c04c4e8e7fed489e3ff8b4c833a6bb612","tarball":"https://registry.npmjs.org/webot-cli/-/webot-cli-0.0.2-1.tgz","integrity":"sha512-3r+rrjvG44+lgo+zwxIvL0hVkDEKMnsDJRrk0snxVAUH+HVii/WpX7LkPgwSJ1ThiawKGDdD/0mFjjkoz2NeUQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHYmgCFkOdcI7pEJL5aF8lboDDmKte1QeS8AkaFTmH42AiABdMJUH0Uejqh96ESx8VeduL3zMEDf5nCzK4nCReBUgg=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"ktmud","email":"jyyjcc@gmail.com"},"maintainers":[{"name":"ktmud","email":"jyyjcc@gmail.com"}],"directories":{}},"0.0.3":{"name":"webot-cli","version":"0.0.3","description":"Command line interface for weixin-robot","main":"index.js","repository":{"type":"git","url":"https://github.com/node-webot/webot-cli.git"},"dependencies":{"colors":"~0.6.0","xml2js":"~0.2.6","commander":"~1.1.1","prettyjson":"~0.8.1","request":"~2.16.6","lodash":"~1.1.1","nopt":"~2.1.1"},"devDependencies":{},"bin":{"webot":"bin/webot"},"keywords":["weixin","webot","cli","wechat"],"author":{"name":"Jesse Yang","email":"kissmud@gmail.com"},"license":"MIT","_id":"webot-cli@0.0.3","dist":{"shasum":"70b2ef5366a9b40324842846c05b70a6c4cd71a4","tarball":"https://registry.npmjs.org/webot-cli/-/webot-cli-0.0.3.tgz","integrity":"sha512-qYmz6H3Kfx5LCdkVcBjApLU3nf6V1Hgck7SpMSOQpvZDdWxWVKxz4dQOnmtdc64cp6EyHj93OtK/qb3Iczs45w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCc1IBD21/hlsdqHoJLbXxdsmL79gm5nUICFdnqRP5NFwIhAJjZ3G4ydOf1wOQhwHXq4R8a+njCqUvZlN9XtKWyRdJa"}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"ktmud","email":"jyyjcc@gmail.com"},"maintainers":[{"name":"ktmud","email":"jyyjcc@gmail.com"}],"directories":{}},"0.0.4":{"name":"webot-cli","version":"0.0.4","description":"Command line interface for weixin-robot","main":"index.js","repository":{"type":"git","url":"https://github.com/node-webot/webot-cli.git"},"dependencies":{"colors":"~0.6.0","xml2js":"~0.2.6","commander":"~1.1.1","prettyjson":"~0.8.1","request":"~2.16.6","lodash":"~1.1.1","nopt":"~2.1.1"},"devDependencies":{},"bin":{"webot":"bin/webot"},"keywords":["weixin","webot","cli","wechat"],"author":{"name":"Jesse Yang","email":"kissmud@gmail.com"},"license":"MIT","_id":"webot-cli@0.0.4","dist":{"shasum":"add28b3530bb208397c45a28e6efadf1e57ac175","tarball":"https://registry.npmjs.org/webot-cli/-/webot-cli-0.0.4.tgz","integrity":"sha512-vtrQm4S9Qr04F/S1paeoFjNfilUemloXlNLbtyBwgthYz/keN+21YmMRBkLip0Qwv+7Fv+PMWD9v2ygwG7XYeA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQYJ7MSS7/rE6pv20iIyX+rOkgc+2MqzdO+L1TLomAawIhANBPGrZz9OMhk3pDXkn5PdfJWx7bql/XJPGHlBL6nYn2"}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"ktmud","email":"jyyjcc@gmail.com"},"maintainers":[{"name":"ktmud","email":"jyyjcc@gmail.com"}]},"0.0.5":{"name":"webot-cli","version":"0.0.5","description":"Command line interface for weixin-robot","main":"index.js","repository":{"type":"git","url":"https://github.com/node-webot/webot-cli.git"},"dependencies":{"colors":"~0.6.0","xml2js":"~0.2.6","commander":"~1.1.1","prettyjson":"~0.8.1","request":"~2.16.6","lodash":"~1.1.1","nopt":"~2.1.1"},"devDependencies":{},"bin":{"webot":"bin/webot"},"keywords":["weixin","webot","cli","wechat"],"author":{"name":"Jesse Yang","email":"kissmud@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/node-webot/webot-cli/issues"},"homepage":"https://github.com/node-webot/webot-cli","_id":"webot-cli@0.0.5","dist":{"shasum":"a0aabc8bce73f2d804126670c75825f77d109c61","tarball":"https://registry.npmjs.org/webot-cli/-/webot-cli-0.0.5.tgz","integrity":"sha512-nercNpDtnF9v/xFvf9nDLBXv/nyGSIDLQCPKXN0b4T3v79cJmSjv3Q6qI3Cl51oz/DEdZsNWmDSS/8P65tipAw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/1f9x2TCmoSth/JOL8HI5otuMh6pbaydD23fZ0fB/iQIgQsCba2oxglZspOujMnBF/k1KuSfNJFLy9GyoI1qAMXA="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"ktmud","email":"jyyjcc@gmail.com"},"maintainers":[{"name":"ktmud","email":"jyyjcc@gmail.com"}]},"0.0.6":{"name":"webot-cli","version":"0.0.6","description":"Command line interface for weixin-robot","main":"index.js","repository":{"type":"git","url":"https://github.com/node-webot/webot-cli.git"},"dependencies":{"colors":"~0.6.0","xml2js":"~0.2.6","commander":"~2.2.0","inquirer":"~0.4.1","prettyjson":"~0.8.1","request":"~2.16.6","lodash":"~1.1.1","nopt":"~2.1.1"},"devDependencies":{},"bin":{"webot":"bin/webot"},"keywords":["weixin","webot","cli","wechat"],"author":{"name":"Jesse Yang","email":"kissmud@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/node-webot/webot-cli/issues"},"homepage":"https://github.com/node-webot/webot-cli","_id":"webot-cli@0.0.6","_shasum":"34bb49bd24e888b62c7232949aa5e855fb3cae63","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"ktmud","email":"jyyjcc@gmail.com"},"maintainers":[{"name":"ktmud","email":"jyyjcc@gmail.com"}],"dist":{"shasum":"34bb49bd24e888b62c7232949aa5e855fb3cae63","tarball":"https://registry.npmjs.org/webot-cli/-/webot-cli-0.0.6.tgz","integrity":"sha512-pejGXUevQ8//UeLRtWskr7M9efQsBlhtqvrsUPOgNwITKDlT+bhcpEgpy5L4HL8doj78BKdHe393DrAxo4JaTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCHwjBqHoulKlGfR1ObMXqf7szaKGpZ6KlHSzovoorEi8CIQD91zNB0YYCuap3QGs/Jffo4ohVqQRzvSSo6cpcG4nBNw=="}]}},"0.0.7":{"name":"webot-cli","version":"0.0.7","description":"Command line interface for weixin-robot","main":"index.js","repository":{"type":"git","url":"https://github.com/node-webot/webot-cli.git"},"dependencies":{"colors":"~0.6.0","xml2js":"~0.2.6","commander":"~2.2.0","inquirer":"~0.4.1","prettyjson":"~0.8.1","request":"~2.16.6","lodash":"~1.1.1","nopt":"~2.1.1"},"devDependencies":{},"bin":{"webot":"bin/webot"},"keywords":["weixin","webot","cli","wechat"],"author":{"name":"Jesse Yang","email":"kissmud@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/node-webot/webot-cli/issues"},"homepage":"https://github.com/node-webot/webot-cli","_id":"webot-cli@0.0.7","_shasum":"768aa9123b79ab144d01708777acbe6a80db677f","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"ktmud","email":"jyyjcc@gmail.com"},"maintainers":[{"name":"ktmud","email":"jyyjcc@gmail.com"}],"dist":{"shasum":"768aa9123b79ab144d01708777acbe6a80db677f","tarball":"https://registry.npmjs.org/webot-cli/-/webot-cli-0.0.7.tgz","integrity":"sha512-qjqB0wX7Ne1oZvs3kPh2fIiaCEOmiYTvCneoGbqJFPkMjBNWa6XxfbDnZFAEVhtJFmgcGnQaOPTCOU5d4GX81A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG8QSRYuIH9Pyk+9XE3BslFpcKrPS8bxg5Uqdg4sdyClAiEAu+uX4lZCzrBM/rbjOtagU8Mub/yxA/eMPi8SRBcdS54="}]}},"0.0.9":{"name":"webot-cli","version":"0.0.9","description":"Command line interface for weixin-robot","main":"index.js","repository":{"type":"git","url":"https://github.com/node-webot/webot-cli.git"},"dependencies":{"colors":"~0.6.0","xml2js":"~0.2.6","commander":"~2.2.0","inquirer":"~0.4.1","prettyjson":"~0.8.1","request":"~2.16.6","lodash":"~1.1.1","nopt":"~2.1.1"},"devDependencies":{},"bin":{"webot":"bin/webot"},"keywords":["weixin","webot","cli","wechat"],"author":{"name":"Jesse Yang","email":"kissmud@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/node-webot/webot-cli/issues"},"homepage":"https://github.com/node-webot/webot-cli","_id":"webot-cli@0.0.9","_shasum":"19beb1b7e147a2fcd63a354b6e0ff7dd90552612","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"ktmud","email":"jyyjcc@gmail.com"},"maintainers":[{"name":"ktmud","email":"jyyjcc@gmail.com"}],"dist":{"shasum":"19beb1b7e147a2fcd63a354b6e0ff7dd90552612","tarball":"https://registry.npmjs.org/webot-cli/-/webot-cli-0.0.9.tgz","integrity":"sha512-g8YKLzKIeznzEJKI7uPyd8uwtTyixiHOG88PvQ+57S5qNZfyTWgjLcv3CQb5B46gBAsfupZ6iJci0p4/QVdtNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHjor6h6gXwxwDptGZDxuWXOYQfoWq2kOQ74GIiyRIVVAiEA6gESEnDDqRwXn0tIguEBCEFIb9Ue7EmR7qYWan4ek+w="}]}},"0.0.10":{"name":"webot-cli","version":"0.0.10","description":"Command line interface for weixin-robot","main":"index.js","repository":{"type":"git","url":"https://github.com/node-webot/webot-cli.git"},"dependencies":{"colors":"~0.6.0","xml2js":"~0.2.6","commander":"~2.2.0","inquirer":"~0.4.1","prettyjson":"~0.8.1","request":"~2.16.6","lodash":"~1.1.1","nopt":"~2.1.1"},"devDependencies":{},"bin":{"webot":"bin/webot"},"keywords":["weixin","webot","cli","wechat"],"author":{"name":"Jesse Yang","email":"kissmud@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/node-webot/webot-cli/issues"},"homepage":"https://github.com/node-webot/webot-cli","_id":"webot-cli@0.0.10","_shasum":"3381d7a7381c9d683c28fe73d7e3bc4b6faadc64","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"ktmud","email":"jyyjcc@gmail.com"},"maintainers":[{"name":"ktmud","email":"jyyjcc@gmail.com"}],"dist":{"shasum":"3381d7a7381c9d683c28fe73d7e3bc4b6faadc64","tarball":"https://registry.npmjs.org/webot-cli/-/webot-cli-0.0.10.tgz","integrity":"sha512-JJl6JoSpieCJXAdF3x1a82FHxLVAPM+6SmW1WtnaAa7suyUmL8s6NT8uVFR6MFO3QolcMK83uX4YwtnrGHRSFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEjsjz896XDblWFgSX1nsiyeDgdmBZGCBZIT2fq9xkgPAiAwvkXsuT+af4HD0ho1j14ufdm4DSUZjiYktL4ofL18Ww=="}]}},"0.0.11":{"name":"webot-cli","version":"0.0.11","description":"Command line interface for weixin-robot","main":"index.js","repository":{"type":"git","url":"https://github.com/node-webot/webot-cli.git"},"dependencies":{"colors":"~0.6.0","xml2js":"~0.2.6","commander":"~2.2.0","inquirer":"~0.4.1","prettyjson":"~0.8.1","request":"~2.16.6","lodash":"~1.1.1","nopt":"~2.1.1"},"devDependencies":{},"bin":{"webot":"bin/webot"},"keywords":["weixin","webot","cli","wechat"],"author":{"name":"Jesse Yang","email":"kissmud@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/node-webot/webot-cli/issues"},"homepage":"https://github.com/node-webot/webot-cli","_id":"webot-cli@0.0.11","_shasum":"788b6389a5a47630d63ca0d8d7e80c777add8d28","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"ktmud","email":"jyyjcc@gmail.com"},"maintainers":[{"name":"ktmud","email":"jyyjcc@gmail.com"}],"dist":{"shasum":"788b6389a5a47630d63ca0d8d7e80c777add8d28","tarball":"https://registry.npmjs.org/webot-cli/-/webot-cli-0.0.11.tgz","integrity":"sha512-eGi+jQ1iKpRn/TC9eoc4cxOna3iPMnedQFIepK1EP7cPRaxdZFWlXipZhRgVB/vFk5KD5xb3cBdOwstu2P95Yg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFu5WKG0pBlnSnD9Ad3LLh0Vt5k2QjD/FayuqraTtuGqAiAsP0Jl7iIASXPf/7Kba4t8hd1jl6JKHkOkd/hYpZCGnQ=="}]}},"0.0.12":{"name":"webot-cli","version":"0.0.12","description":"Command line interface for weixin-robot","main":"index.js","repository":{"type":"git","url":"git+https://github.com/node-webot/webot-cli.git"},"dependencies":{"colors":"~0.6.0","xml2js":"~0.2.6","commander":"~2.2.0","inquirer":"~0.4.1","prettyjson":"~0.8.1","request":"~2.16.6","lodash":"~1.1.1","nopt":"~2.1.1"},"devDependencies":{},"bin":{"webot":"bin/webot"},"keywords":["weixin","webot","cli","wechat"],"author":{"name":"Jesse Yang","email":"kissmud@gmail.com"},"license":"MIT","gitHead":"5f32b762f8e1bb15df711095428ae595acdd5a15","bugs":{"url":"https://github.com/node-webot/webot-cli/issues"},"homepage":"https://github.com/node-webot/webot-cli#readme","_id":"webot-cli@0.0.12","scripts":{},"_shasum":"cbfbca8ccec48e206f8c3aed72aaea50f7656bb5","_from":".","_npmVersion":"2.9.0","_nodeVersion":"0.12.2","_npmUser":{"name":"ktmud","email":"jyyjcc@gmail.com"},"maintainers":[{"name":"ktmud","email":"jyyjcc@gmail.com"}],"dist":{"shasum":"cbfbca8ccec48e206f8c3aed72aaea50f7656bb5","tarball":"https://registry.npmjs.org/webot-cli/-/webot-cli-0.0.12.tgz","integrity":"sha512-S9FpiHvXnfgtQA9IJMhuYDMe0O1Pe0NBFVXQbEsJVo9F5IJo4ph8KNWEtB306JwNFdEV/xyvuv6ZXdQWo6S0kA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxdOdVgz25BIRmJApPFZF0zOX+aPJRe8mtrUPI7kvkQgIhANGS+3rNbgVydqO5WQhuwbpXqysWuuNPNEIV7cqdfcpy"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/webot-cli-0.0.12.tgz_1473128901313_0.1532348224427551"}}},"readme":"# webot-cli\n\nCommand line interface for [weixin-robot](https://github.com/node-webot/weixin-robot).\n\n    npm install webot-cli -g\n\n## Commands\n\n```man\n  Usage: webot <command> [options]\n\n  Options:\n\n    -h, --help     output usage information\n    -V, --version  output the version number\n\n  Commands:\n\n    send [image|text|loc|..]   send a message to test host\n    menu [create|delete|get]   manipulate wechat menu\n    help [command]             view help info for specified command\n```\n\nUse `webot help` for more details.\n\n## 发送测试消息\n\n```man\n  Usage: webot send [type] [options] [message]\n\n  Types:\n\n    # t, text            Send text messages (default)\n    # i, image, pic      Send image messages\n    # l, loc, location   Send location messages\n    # e, event           Send event messages\n    # scan               Send scan QRcode event\n    # reportloc          Send report location event\n\n  Options:\n\n    --token          API token for wechat, defaults to `process.env.WX_TOKEN`\n    --port           The port your service is listening at, defaults to `process.env.PORT`\n    --host           Server hostname, defaults to 127.0.0.1\n    --route          The subdirectory you are watching\n    --des            Request destination, a full url\n                     Will override host, port and route\n    --user           FromUserName of this message.\n\n  Examples:\n\n    webot send --token abc123 --des http://example.com/webot\n    webot send t Hello\n    webot send loc 20.12 120.33 \"Somewhere Out There\"\n```\n\n### 在代码里使用\n\n```javascript\nvar send = require('webot-cli').commands.send\nvar options = {\n  silent: true,\n  port: PORT,\n  route: media.webotPath(),\n  token: media.wx_token,\n  input: ['text', 'abcotea']\n}\n\nsend(options, data)\n```\n\n## 微信自定义菜单\n\n    webot help menu\n\n需要一个 json 文件保存 access_token 等配置信息（默认是当前目录的 **wx_config.json**）。\n为安全起见，建议你只在本地使用此文件，不要把它放到代码仓库中。\n\n```javascript\n{\n  \"appid\": \"abcedfe123456\",\n  \"secret\": \"abcdefghijklmn1234567890\"\n}\n```\n\n### 创建或修改\n\n按照微信文档中的[请求示例][1]，新建一个 json 文件（如`menu.json`），然后利用 stdin 传入 `webot menu create` 命令：\n\n文件 **menu.json** 的内容：\n\n```javascript\n {\n     \"button\":[\n     {  \n          \"type\":\"click\",\n          \"name\":\"今日歌曲\",\n          \"key\":\"V1001_TODAY_MUSIC\"\n      },\n      {\n           \"type\":\"click\",\n           \"name\":\"歌手简介\",\n           \"key\":\"V1001_TODAY_SINGER\"\n      },\n      {\n           \"name\":\"菜单\",\n           \"sub_button\":[\n            {\n               \"type\":\"click\",\n               \"name\":\"hello word\",\n               \"key\":\"V1001_HELLO_WORLD\"\n            },\n            {\n               \"type\":\"click\",\n               \"name\":\"赞一下我们\",\n               \"key\":\"V1001_GOOD\"\n            }]\n       }]\n }\n```\n\n执行命令：\n\n    webot menu create --config wx_config.json < menu.json\n\n### 自定义菜单与 webot 的结合\n\n发送文字消息或者触发点击事件都可以：\n\n```\nvar reg_gequ = /(今日歌曲|today music)/i;\n\nwebot.set('today_music', {\n  pattern: function(info) {\n    return reg_gequ.test(info.text) || info.param.eventKey === 'V1001_TODAY_MUSIC';\n  },\n  handler: function(info, cb) {\n    // 从你的数据库里查找今日歌曲\n    cb(null, {\n      type: 'music',\n      musicUrl: 'http://xxxx...',\n      hqMusicUrl: 'http://xxxx...'\n    });\n  },\n});\n```\n\n## LICENCE\n\n(the MIT licence)\n\n[1]:http://mp.weixin.qq.com/wiki/index.php?title=%E8%87%AA%E5%AE%9A%E4%B9%89%E8%8F%9C%E5%8D%95%E6%8E%A5%E5%8F%A3#.E8.8F.9C.E5.8D.95.E5.88.9B.E5.BB.BA)\n","maintainers":[{"name":"ktmud","email":"jyyjcc@gmail.com"}],"time":{"modified":"2022-06-28T23:37:00.885Z","created":"2013-04-21T05:37:21.423Z","0.0.1":"2013-04-21T05:37:24.257Z","0.0.1-1":"2013-04-21T05:45:06.365Z","0.0.2":"2013-04-29T04:38:02.316Z","0.0.2-1":"2013-05-22T05:15:11.297Z","0.0.3":"2013-07-01T08:17:19.071Z","0.0.4":"2013-08-16T10:25:47.696Z","0.0.5":"2014-03-13T06:02:22.487Z","0.0.6":"2014-05-01T07:26:58.963Z","0.0.7":"2014-05-02T06:51:15.079Z","0.0.8":"2014-05-02T08:10:58.466Z","0.0.9":"2014-05-06T11:27:33.343Z","0.0.10":"2014-05-12T08:26:08.298Z","0.0.11":"2014-06-25T03:33:15.663Z","0.0.12":"2016-09-06T02:28:23.073Z"},"author":{"name":"Jesse Yang","email":"kissmud@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/node-webot/webot-cli.git"},"homepage":"https://github.com/node-webot/webot-cli#readme","keywords":["weixin","webot","cli","wechat"],"bugs":{"url":"https://github.com/node-webot/webot-cli/issues"},"license":"MIT","readmeFilename":"README.md"}