All Projects → EasyWeChat → Console

EasyWeChat / Console

A Command tool for EasyWeChat Application.

Labels

Projects that are alternatives of or similar to Console

Ueberzug
ueberzug is a command line util which allows to display images in combination with X11
Stars: ✭ 711 (+3285.71%)
Mutual labels:  console
Autoprompt
Auto complete command prompts for C# .Net console apps
Stars: ✭ 22 (+4.76%)
Mutual labels:  console
Closestx11color
Find the closest xterm-256 colors (between 0 and 255) to an arbitrary HTML hexa color (e.g. #ABCDEF)
Stars: ✭ 13 (-38.1%)
Mutual labels:  console
Imgp
📸 High-performance cli batch image resizer and rotator
Stars: ✭ 744 (+3442.86%)
Mutual labels:  console
Logging Helpers
Basic template helpers for printing messages out to the console. Useful for debugging context in templates. Should work with any template engine.
Stars: ✭ 5 (-76.19%)
Mutual labels:  console
C Sharp Console Gui Framework
A GUI framework for C# console applications
Stars: ✭ 838 (+3890.48%)
Mutual labels:  console
Terminaltables
Generate simple tables in terminals from a nested list of strings.
Stars: ✭ 685 (+3161.9%)
Mutual labels:  console
Chromelogger
chrome extension for server side console logging
Stars: ✭ 884 (+4109.52%)
Mutual labels:  console
Terminalview
Terminal inside Sublime Text 3 view
Stars: ✭ 897 (+4171.43%)
Mutual labels:  console
Ascii canvas
ASCII canvas for drawing in console
Stars: ✭ 11 (-47.62%)
Mutual labels:  console
Pry
A runtime developer console and IRB alternative with powerful introspection capabilities.
Stars: ✭ 6,351 (+30142.86%)
Mutual labels:  console
Console Ultimate
Node-compatible `console` object with extra features
Stars: ✭ 5 (-76.19%)
Mutual labels:  console
Sadconsole
A .NET ascii/ansi console engine written in C# for MonoGame and XNA. Create your own text roguelike (or other) games!
Stars: ✭ 853 (+3961.9%)
Mutual labels:  console
Suplemon
🍋 Console (CLI) text editor with multi cursor support. Suplemon replicates Sublime Text like functionality in the terminal. Try it out, give feedback, fork it!
Stars: ✭ 734 (+3395.24%)
Mutual labels:  console
Log.js
node.js 控制台日志打印工具
Stars: ✭ 14 (-33.33%)
Mutual labels:  console
Python Progressbar
Progressbar 2 - A progress bar for Python 2 and Python 3 - "pip install progressbar2"
Stars: ✭ 682 (+3147.62%)
Mutual labels:  console
Console.md
Ever dreamed of rendering Markdown in the console? No. Neither had I.
Stars: ✭ 24 (+14.29%)
Mutual labels:  console
Consome
Consome = Console + Awesome 🙌
Stars: ✭ 20 (-4.76%)
Mutual labels:  console
Radian
A 21 century R console
Stars: ✭ 878 (+4080.95%)
Mutual labels:  console
Tui Consolelauncher
Linux CLI Launcher for Android
Stars: ✭ 861 (+4000%)
Mutual labels:  console

EasyWeChat Console Tool

A command line for EasyWeChat Application.

Installing

$ composer require easywechat/console -vvv

Or install it globally:

$ composer global require easywechat/console -vvv

Usage

$ ./vendor/bin/easywechat list

# globally install
$ easywechat list

Get payment RSA public key.

https://pay.weixin.qq.com/wiki/doc/api/tools/mch_pay.php?chapter=24_7

$ ./vendor/bin/easywechat payment:rsa_public_key \
    --mch_id=14339221228 \
    --api_key=36YTbDmLgyQ52noqdxgwGiYy \
    --cert_path=/Users/overtrue/www/demo/apiclient_cert.pem \
    --key_path=/Users/overtrue/www/demo/apiclient_key.pem 
    
# Public key of mch_id:14339221228 saved as ./public-14339221228.pem

List, Create, Delete Official Account menu structure.

https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421141013
https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421141014
https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421141015

$ ./vendor/bin/easywechat menus:list_menus \
    --app_id=14339221228 \
    --secret=36YTbDmLgyQ52noqdxgwGiYy \
    --token=mytoken \
    --aes_key=0xp26B0rqlKFZPWbr5lQs4SVaugBnFjE0H1xE9rfePX
    --file_output=/Users/overtrue/www/demo/menus.json 
    
# JSON menu structure of the Official Account output in /Users/overtrue/www/demo/menus.json
$ ./vendor/bin/easywechat menus:create_menus \
    --app_id=14339221228 \
    --secret=36YTbDmLgyQ52noqdxgwGiYy \
    --token=mytoken \
    --aes_key=0xp26B0rqlKFZPWbr5lQs4SVaugBnFjE0H1xE9rfePX
    --file=/Users/overtrue/www/demo/menus.json 
    
# Menu structure of the Official Account created/updated
$ ./vendor/bin/easywechat menus:delete_menus \
    --app_id=14339221228 \
    --secret=36YTbDmLgyQ52noqdxgwGiYy \
    --token=mytoken \
    --aes_key=0xp26B0rqlKFZPWbr5lQs4SVaugBnFjE0H1xE9rfePX
    --save=/Users/overtrue/www/demo/menus.json 
    
# Menu structure of the Official Account deleted
# JSON menu structure saved as /Users/overtrue/www/demo/menus.json

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].