Metadata-Version: 2.2
Name: conviso-cli
Version: 2.6.1rc4
Maintainer: Conviso
Maintainer-email: development@convisoappsec.com
Project-URL: Source, https://github.com/convisoappsec/convisocli/
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: GitPython==3.1.45
Requires-Dist: click==8.1.8
Requires-Dist: requests==2.32.3
Requires-Dist: urllib3==2.4.0
Requires-Dist: semantic-version==2.10.0
Requires-Dist: docker==7.1.0
Requires-Dist: PyYAML==6.0.2
Requires-Dist: click-log==0.4.0
Requires-Dist: transitions==0.9.2
Requires-Dist: jsonschema==4.25.0
Requires-Dist: giturlparse<=0.12.0
Requires-Dist: jmespath==1.0.1
Requires-Dist: setuptools==78.1.0
Dynamic: description
Dynamic: description-content-type
Dynamic: maintainer
Dynamic: maintainer-email
Dynamic: project-url
Dynamic: requires-dist
Dynamic: requires-python

# CLI

This is a command line tool to interact with [convisoappsec] API. 

# Documentation
Please visit the [official documentation] for further information.

[official documentation]: <https://docs.convisoappsec.com/cli/installation>

# Development Mode

To run this application in development mode, follow these steps:

## 1. Clone the Repository

First, clone this repository:

```shell
git clone <repository_url>
cd convisocli
```

## Set Up Python Environment
Create and activate a virtual environment:
```shell
  python -m venv venv
  source venv/bin/activate  # On macOS/Linux
  venv\Scripts\activate     # On Windows

```
and then install in development mode:
```shell
    pip install -e .
```

### Using pyenv:

If you don't have pyenv installed, follow the installation guide:
https://github.com/pyenv/pyenv?tab=readme-ov-file#installation

```shell
  pyenv install 3.13.1
```

To set a version only for convisocli, go to convisocli directory and run:
```shell
  pyenv local 3.13.1
```

To set a python version globally:

```shell
    pyenv global 3.13.1
```

and then you can run:
```shell
  pip install -e .
```
To install convisocli.

Run the following command to check if convisocli is installed correctly:

```shell
    conviso --help
```

To run the tests, install the required dependencies by running:

```shell
    pip install -r dev_requirements.txt
```

Once installed, execute the tests with:

```shell
    pytest
```

To run tests with coverage report:

```shell
    pytest --cov=convisoappsec test/
```
