minarai-cli-client-saas

0.1.0 • Public • Published

minarai-cli-client-saas

CLI client program for interact to minarai.

Install

npm install -g Nextremer/minarai-cli-client-saas

Usage

minarai-client-saas --aid xxxxxxxxxxxxxxxx --asc xxxxxxxxxxxxxxxx

Options

  • --aid: minarai application ID. It's generally used in authentication.
  • --asc: minarai application secret. It's generally used in authentication.
  • --cid: client ID.
  • --uid: user ID.
  • --did: device ID.
  • --lang: language.
  • --url: URL used to connect with Socket.IO.
  • --opt: Options for Socket.IO.
  • --ver: minarai API version.
  • --type: response display type. default is raw.

Use config file

If config.json is in current directory, the client will load at launching. config.json may be used to specify frequently used options.

{
  "applicationId": "xxxxxxxxxxxxxxxx",
  "applicationSecret": "xxxxxxxxxxxxxxxx",
  "clientId": "xxxx",
  "userId": "xxxx",
  "deviceId": "xxxx",
  "lang": "xx-xx",
  "socketIORootURL": "https://xxxx.xxxx.xxxx",
  "socketIOOptions": "{}",
  "apiVersion": "xx",
  "displayType": "cschat"
}

Dependents (0)

Package Sidebar

Install

npm i minarai-cli-client-saas

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

10.6 kB

Total Files

10

Last publish

Collaborators

  • nextremer