Kata Command Line Interface (Kata CLI) is a tool for creating bots with Kata Markup Language (Kata ML) and helps managing the bots with command line/shell of various operating systems. For more information, check our website (http://kata.ai/en).
Install Kata-CLI at your device, using this command:
npm install -g kata-cli
now you can use command kata globally
Use kata --help
to see commands list available
Command as user and team :
kata init [options] <name> [version
] - Init the botkata versions
- List versions of the botkata config-view
- View config stored in .katajson filekata list-bots
- List the botskata push [options]
- Push the botkata pull <name> <version>
- Pull the bot with specified name and versionkata remove-bot
- Delete selected botkata test [file]
kata console [options] <diaenneUrl>
kata deploy <name> [version]
- Deploy the botkata add-channel [options] <name> <channelName>
- Add bot channelkata remove-channel <name> <channelName>
- Remove bot channelkata drop <name>
kata session-get <id> [deploymentId]
kata session-create [options] [id] [deploymentId]
kata session-update [options] <id> [deploymentId]
kata session-delete <id> [deploymentId]
kata set <prop> <value>
kata switch <type> [name]
Command as user :
kata login [options]
kata logout
kata whoami
kata change-password
kata create-team <teamName>
kata create-user
- admin only
Command as team :
kata add-member <username> [options] --admin
kata remove-member <username>