1.0.5 • Published 2 years ago

wechaty-vorpal v1.0.5

Weekly downloads
9
License
Apache-2.0
Repository
github
Last release
2 years ago

wechaty-vorpal

Wechaty Vorpal NPM NPM Version

Extensible Interactive CLI Plugin for Wechaty ChatOps, Powered by Vorpal.

Wechaty Vorpal

Image: rainbow sword

Powered by Wechaty TypeScript

Usage

import { Wechaty }        from 'wechaty'
import { WechatyVorpal }  from 'wechaty-vorpal'
import hackerNews         from 'vorpal-hacker-news'

const wechaty = new Wechaty()

wechaty.use(
  WechatyVorpal({
    use: hackerNews,
  }),
)

wechaty.start()

See: wechaty-vorpal-contrib for more Wechaty Vorpal Extension CLI for Chatbots.

Demo

Wechaty Vorpal Hacker News

help

Commands:

    help [command...]       Provides help for a given command.
    exit                    Exits application.
    hacker-news [options]   Lists the top stories on hacker news.

help hacker-news

Usage: hacker-news [options]

  Lists the top stories on hacker news.

  Options:

    --help              output usage information
    -l, --length [amt]  Limits the list to a given length.

hacker-news --length 3

Pulling top 3 stories on Hacker News:

  1. Discovering Dennis Ritchies Lost Dissertation (org)
     93 points by beefhash 3 hours ago | 23 comments

  2. Updating the Git protocol for SHA-256 (net)
     81 points by chmaynard 14 hours ago | 48 comments

  3. Mac OS X Leopard and Xcode on iPad Pro (com)
     134 points by tosh 10 hours ago | 28 comments

Resources

  1. Creating Node.js Command Line Utilities to Improve Your Workflow
  2. vantge - Distributed, realtime CLI for live Node apps.
  3. vorpal - Node's framework for interactive CLIs

History

v0.3 (Jul 7, 2020)

Inherit the TypeScript source code from the Vorpal Reforged (MIT License) so that we can refactor it to fit the Chatbot environment better.

v0.2 (Jun 19, 2020)

Init the first version of Vorpal Wechaty Plugin for managing ChatOps Commands

Contributors

contributor contributor contributor contributor contributor contributor contributor contributor

Author

Huan LI (李卓桓), Tencent TVP of Chatbot, \zixia@zixia.net\

Profile of Huan LI (李卓桓) on StackOverflow

Copyright & License

  • Code & Docs © 2020 Huan LI (李卓桓) \zixia@zixia.net\
  • Code released under the Apache-2.0 License
  • Docs released under Creative Commons
1.11.4

2 years ago

1.13.1

2 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

0.9.2

3 years ago

0.7.4

3 years ago

0.7.3

3 years ago

0.6.17

3 years ago

0.6.16

3 years ago

0.6.14

3 years ago

0.6.12

4 years ago

0.6.11

4 years ago

0.6.10

4 years ago

0.6.8

4 years ago

0.6.6

4 years ago

0.6.3

4 years ago

0.6.2

4 years ago

0.6.5

4 years ago

0.6.4

4 years ago

0.6.1

4 years ago

0.4.17

4 years ago

0.4.14

4 years ago

0.4.12

4 years ago

0.4.11

4 years ago

0.4.9

4 years ago

0.4.8

4 years ago

0.4.7

4 years ago

0.4.4

4 years ago

0.4.6

4 years ago

0.4.1

4 years ago

0.3.16

4 years ago

0.3.14

4 years ago

0.3.9

4 years ago

0.3.11

4 years ago

0.3.6

4 years ago

0.3.5

4 years ago

0.3.8

4 years ago

0.3.7

4 years ago

0.3.2

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.2.13

4 years ago

0.2.12

4 years ago

0.2.11

4 years ago

0.2.10

4 years ago

0.2.8

4 years ago

0.2.7

4 years ago

0.2.6

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.2

4 years ago