AiursoftWeb / Kahla.CLI

A CLI implementation for Kahla API

Home Page:https://www.kahla.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KahlaLogo

Kahla.CLI

Build status Deploy status

Kahla for CLI. An implementation for Kahla API: here

How to Use

View Help

$ kahla --help

Login

$ kahla login --email <username> --password <password>

Logout

$ kahla logout

View all friends

$ kahla friends

Search for friends

$ kahla searchfriends --searchinput <username>

View all groups

$ kahla groups

Search for groups

$ kahla searchgroups --searchinput <username>

Get Messages

$ kahla getmessages --username <username> --take 15

Send Message

$ kahla send --username <username> --message <message>

Delete friend

$ kahla deletefriends --username <username>

Leave the group chat

$ kahla leavegroups --group <groupname>

Listen to the message

$ kahla listen

Get Current Version

$ kahla version

How to run

Before running, you need to install the dependencies:

$ pip install -r requirement.txt
$ pip install -r devrequirement.txt

You can run this project by running the following shell command:

$ kahla xxxx

Project Dependencies

Python 3.7

We developed this under Python3.7 and we recommend downloading the latest version of Python3.7 directly.

This project supports Windows Mac Linux.

Windows users also need to install the Python runtime when using executables.

Currently, Mac and Linux only support bash scripting and Windows supports exe executables.

Project Dependencies SDK Download Address

If you are a normal user, you only need to install requirement.txt.

If you are a developer, you need to install devrequirement.txt.

Other packages use the pip installation directly.

How to build exe

$ ./publishforwindows.sh

You can run tools/generateversion.py to get package.py.

This command requires all the packages above.

The files under the dist/Program/ directory are the compiled binarys.

How to build Linux Binary

$ ./publishforlinux.sh

This command requires all the packages above.

The files under the dist/Program/ directory are the compiled binarys.

Document

For more info please view Kahla Wiki.

How to contribute

There are many ways to contribute to the project: logging bugs, submitting pull requests, reporting issues, and creating suggestions.

Even if you have push rights on the repository, you should create a personal fork and create feature branches there when you need them. This keeps the main repository clean and your personal workflow cruft out of sight.

We're also interested in your feedback for the future of this project. You can submit a suggestion or feature request through the issue tracker. To make this process more effective, we're asking that these include more information to help define them more clearly.

About

A CLI implementation for Kahla API

https://www.kahla.app

License:MIT License


Languages

Language:Python 97.0%Language:Shell 2.9%Language:Batchfile 0.1%