Git Product home page Git Product logo

kahla.cli's Introduction

KahlaLogo

Kahla.CLI

Build status

Kahla for CLI. An implementation for Kahla API: here

How to Use

View Help

$ kahla --help

Use the release version or stagging version

The default is to use the release version without setting it

$ kahla usemaster # use release version
$ kahla usestagging # use stagging version

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

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

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.

kahla.cli's People

Contributors

anduin2017 avatar xiangrui2019 avatar

Watchers

James Cloos avatar Benjamin Y avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.