Skip to content

Commit c0f3b84

Browse files
committed
新增PushMe推送平台;移除AnPush推送平台;支持命令行推送
1 parent c8a9606 commit c0f3b84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dist/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4790,7 +4790,7 @@ class PushApi {
47904790
}
47914791

47924792
/* eslint-disable max-len */
4793-
commander.program.version('1.5.0').description('多平台推送通知 CLI 工具,基于 all-pusher-api');
4793+
commander.program.name('allpush').version('1.5.0').description('多平台推送通知 CLI 工具,基于 all-pusher-api');
47944794
commander.program.command('send').description('向配置的推送平台发送消息').option('-c, --config <config>', 'JSON 配置字符串,需对引号进行转义。在线生成: https://configer.hclonely.com/?fileLink=https://raw.githubusercontent.com/HCLonely/all-pusher-api/main/config/template.yaml.js').option('-f, --config-file <path>', 'JSON 配置文件路径。在线生成: https://configer.hclonely.com/?fileLink=https://raw.githubusercontent.com/HCLonely/all-pusher-api/main/config/template.yaml.js').requiredOption('-m, --message <text>', '要发送的消息内容').option('-t, --title <text>', '消息标题').action(async options => {
47954795
try {
47964796
if (!options.config && !options.configFile) {

0 commit comments

Comments
 (0)