Terminal Command Line Client (CLI) for Wechaty
npm install wechaty-cli
Show version:
$ wechaty-cli --version
0.2.1
Start CLI
wechaty-cli
git clone https://github.com/wechaty/cli.git wechaty-cli
cd wechaty-cli
npm start
git clone https://github.com/wechaty/cli.git wechaty-cli
cd wechaty-cli
docker build -t wechaty-cli . # this command needs only to be executed once
docker run --rm -it wechaty-cli # use this command to run wechaty-cli at any time!
The Wechaty community builds separate RPA modules called Wechaty Puppet for different instant messaging (IM) systems (such as WeChat and Whatsapp). wechaty-puppet-wechat is used by default and you can specify wechaty puppet by using the following command to chat on different IM system.
npm install wechaty-puppet-NAME
export WECHATY_PUPPET=wechaty-puppet-NAME
# some puppet requires a token to be set
Debugging with configuration "Launch via NPM", the app will run immediately in the integrated terminal.
To test the app in external terminal, run npm run debug
then start debugging with configuration "Attach".
- ESM support
Init.
- @chinggg - (刘靖) liuchinggg@gmail.com
- @huan - (李卓桓) zixia@zixia.net
- Code & Docs © 2021 Wechaty Contributors https://github.com/wechaty
- Code released under the Apache-2.0 License
- Docs released under Creative