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"
}