Coder Social home page Coder Social logo

trubeapp-command-line-tool's Introduction

TruBe Command Line Tool

Command line tool for partner to work with TruBe REST API. Valid credentials are needed in order to make requests. This tool is very helpful and provides a number of essentials command of Partner APP without installing it. ๐Ÿ˜

Installation

Clone the repository and run the python propose.py command:

$ git clone [email protected]:ronar/trubeapp-command-line-tool.git
$ cd trubeapp-command-line-tool
$ python propose.py

For help provide the -h or --help flag:

$ python propose.py -h

And that's it! Default user and password could be added for more convinient way working with the program.

Requirements

None

Commands

-h, --help show this help message and exit
-w, --wipe wipe all partner auth info
-v, --verbose increase output verbosity
-u USER, --user USER
--password PASSWORD
-l, --list-bookings | prints list of bookings
-p PROPOSE, --propose PROPOSE | partner proposes for booking
-s START_SESSION, --start-session START_SESSION | partner starts a session
-c CONCLUDE_SESSION, --conclude-session CONCLUDE_SESSION | partner concludes a session
-d DECLINE_SESSION, --decline-session DECLINE_SESSION | partner declines a booking
-t TRAINER_DECLINING, --trainer-declining TRAINER_DECLINING | partner declines a direct booking
-r REJECT, --reject REJECT | partner rejects an assigned session

License

    TruBe Command Line Tool
    Copyright (C) 2017  Vladimir Shishlyannikov

                    GNU GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007

 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.

                            Preamble

  The GNU General Public License is a free, copyleft license for
software and other kinds of works.

  The licenses for most software and other practical works are designed
to take away your freedom to share and change the works.  By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.  We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors.  You can apply it to
your programs, too.

See the LICENSE file for more details.

trubeapp-command-line-tool's People

Contributors

ronar avatar

Watchers

 avatar  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.