Metadata-Version: 2.4
Name: setjcomment
Version: 1.1.1
Summary: A Jira comment management tool via terminal. Manage your JIRA issue comments directly from the terminal, using the REST API of JIRA. This tool allows you to add comments to JIRA issues using a template file for consistent formatting, and supports multiple editors for editing the comment content.
Author-email: Juan Jose Solorzano <juanjose.solorzano.c@gmail.com>
License-File: LICENSE
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# setjcomment

> A Jira comment management tool via terminal. Manage your JIRA issue comments directly from the terminal, using the REST API of JIRA. This tool allows you to add comments to JIRA issues using a template file for consistent formatting, and supports multiple editors for editing the comment content.

`setjcomment` allows you to add comments to JIRA issues directly from your terminal, using a template file for consistent formatting.

---

## Features

- **Add comments to JIRA issues** directly from the terminal
- **Use a template file** for consistent comment formatting
- **Supports multiple editors** (nvim, VScode, Notepad)
- **Environment variable configuration** for JIRA server, username, and password
- Works as a global CLI command after installation

---

## Installation

```bash
pip install setjcomment
```

Or install from source:

```bash
git clone https://github.com/your-username/setjcomment.git
cd setjcomment
pip install .
```

---

## Dependencies
- [`Pygments`](https://pypi.org/project/Pygments/) for syntax highlighting
- [`colored`](https://pypi.org/project/colored/) for terminal color output

## Usage

```bash

positional arguments:
  issue_id              The ID of the JIRA issue (e.g., 6552 for SETV-6552).

optional arguments:
  -h, --help            show this help message and exit
  -s SHORT, --short SHORT
                        for add a short unformatted comment.
  -vs, --VScode         Open the template file in VScode instead of nvim.
  -np, --notepad        Open the template file in notepad instead of nvim.

```

### Examples

```bash
setjcomment 6552 -s "This is a short comment."
setjcomment 6552 -vs # Opens the template file in VScode for editing.
setjcomment 6552 -np # Opens the template file in Notepad for editing.
```
---

## License

See [LICENSE](LICENSE) for details.

---

## Author

**Juan Jose Solorzano Carrillo** — juanjose.solorzano.c@gmail.com
