jpush-cli

0.0.4 • Public • Published

极光推送Node.js 命令行工具

Usage

install

npm install -g jpush-cli

init

jpush init

你就会在当前目录看到一个jpush_key.json 的文件, 然后填上你的appkey 和 masterSecret 就可以了

推送通知

广播

jpush -m HelloWorld

指定tag

jpush -t test -m HelloWorld

指定alias

jpush -a test -m HelloWorld

推送Android 消息

广播

jpush -c -k key -m value

指定tag

jpush -t test -c -k key -m HelloWorld

指定alias

jpush -a test -c -k key -m HelloWorld

支持本项目

如果你觉得这个项目还不错,就请作者喝杯咖啡吧

Dependencies (3)

Dev Dependencies (2)

Package Sidebar

Install

npm i jpush-cli

Weekly Downloads

1

Version

0.0.4

License

MIT

Last publish

Collaborators

  • youxiachai