项目作者: amuramoto

项目描述 :
A simple CLI for updating your Messenger Platform bot
高级语言: JavaScript
项目地址: git://github.com/amuramoto/messenger-cli.git
创建时间: 2018-01-19T22:44:46Z
项目社区:https://github.com/amuramoto/messenger-cli

开源协议:MIT License

下载


Messenger Platform CLI

NSP Status

This is a CLI for executing common Messenger Platform actions that aren’t usually called in application code. The following is supported:

  1. Usage: messenger [options] [command]
  2. A simple CLI for making common Messenger Platform calls.
  3. Options:
  4. -V, --version output the version number
  5. -t, --token [token] Page access token. May also be set in MESSENGER_PAGE_TOKEN env var.
  6. -h, --help output usage information
  7. Commands:
  8. profile [options] <fields...> Set/get/delete Messenger Profile properties.
  9. code [options] Generates static and parametric Messenger Codes.
  10. nlp [options] <configs...> Set config values for built-in NLP. Configs should be in the format config_name=value.

profile options

  1. Usage: profile [options] <fields...>
  2. Set/get/delete Messenger Profile properties.
  3. Options:
  4. -s, --set Set Messenger Profile fields.
  5. -d, --delete Delete Messenger Profile fields.
  6. -g, --get Retrieve Messenger Profile fields.
  7. -h, --help output usage information

code options

  1. Usage: code [options]
  2. Generates static and parametric Messenger Codes.
  3. Options:
  4. -s, --size <size> Set the image size in pixels. Supported range: 100-2000. Defaults to 1000.
  5. -d, --data <data> Set the referral payload. Max 250 characters. Valid characters: a-z A-Z 0-9 +/=-.:_
  6. -h, --help output usage information

nlp options

  1. Usage: nlp [options] <configs...>
  2. Set config values for built-in NLP. Configs should be in the format config_name=value.
  3. Options:
  4. -s, --set Set Messenger Profile fields.
  5. -h, --help output usage information