0

我正在尝试测试 keybase chat api 的示例:

 echo "{'method': 'send', 'params': {'options': {'channel': {'name': 'you', 'public': true}, 'message': {'body': 'Still going...'}}}}" | keybase chat api -m

但我得到的只是这个错误信息:

Error parsing command line arguments: flag needs an argument: -m

有任何想法吗 ?

谢谢并恭祝安康

4

1 回答 1

0

您可以为 keybase 聊天 API/keybase-cli 尝试以下命令:

>keybase chat send <username> <your message>
>keybase chat read <username/channel>

中给出的其他示例help将与上述命令类似。这里不需要传递 JSON。

于 2018-10-25T06:46:49.910 回答