Giter VIP home page Giter VIP logo

rekono-cli's Introduction

Buy Me A Coffee

Command Line Interface to make requests to the Rekono API REST.

Usage

usage

Rekono API documentation is available in /api/schema/swagger-ui.html and /api/schema/redoc/ of Rekono instances

Library usage

Rekono CLI can be also used as Python 3 library, so that it's possible to create custom Rekono scripts. For example, with the following code it's possible to create a Rekono client to make custom API requests:

from rekono.client.api import Rekono
client = Rekono(url='https://127.0.0.1', token='my secret api token')           # Create Rekono client
response = client.get('/api/tools/1/')                                          # GET request to get tool with ID 1

Installation

PIP

pip3 install rekono-cli

From Source

  1. Install the required technologies: Python 3 & PIP

  2. Install the dependencies:

    pip3 install -r src/requirements.txt
  3. Execute the CLI:

    python3 src/rekono/main.py --help

Configuration

You can use the REKONO_TOKEN environment variable to configure the API token for Rekono authentication.

Reach Us

You can get support, ask questions, solve doubts or solve problems using:

Rekono is an open source project that we really love to maintain and it's absolutely our pleasure, but we would like to offer the possibility of supporting Rekono's development via donations. At the moment, the project only needs its maintainer's time to stay up to date with new features and fix bugs. However, in the future, it could need more expensive resources like hosting, new web pages for documentation, the inclusion of premium hacking tools, etc. With the help received from our supporters, Rekono will be able to grow fastly and have the resources that it deserves. Of course, you can use the donations just to appreciate our work. Thank you for your help!

The main differences between them are that BuyMeACoffe charges fees over each donation while Ko-fi doesn't and Ko-fi supports PayPal payments while BuyMeACoffe doesn't

License

Rekono is licensed under the GNU GENERAL PUBLIC LICENSE Version 3

rekono-cli's People

Contributors

pablosnt avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

rekono-cli's Issues

Remove commands of installation management

[BREAKING] Removal of install, uninstall, update and services commands. Rekono environment created by CLI is very difficult to maintain, could be unstable, it uses debug mode in frontend, etc. This type of installation will be replaced by other better soon.

Change the database port from default value of 5432 to 5431

Hello,

I was wondering if I can change the database port in Rekono Desktop Application.
I was thinking to connect Rekono to Defect Dojo but because they using the same default database port which 5432, I cannot run these two applications at the same time. I was thinking to change Rekono Desktop Application database port for them to run at the same time but I was not successful?

Could you please tell me if my plan is feasible. If so, can you teach me how to change the RKN_DB_PORT or database_port value?

Thank you very much

Optimize CLI code

  • Optimize code to improve the structure and reduce duplicated code
  • Create new CLI options to improve the management of API requests
  • Create unit tests to check CLI code automatically

Change command to rekono-cli

rekono command is also used by Desktop applications, so that, CLI application should use rekono-cli to prevent collisions.

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.