semvec/pypi-packages huggingface dataset:
cnvt 0.0.2
A command-line tool for file/image conversions.

# Cnvt

A command-line tool for file/image conversions.

<img alt="Project stage: Development" src="https://img.shields.io/badge/Project%20Stage-Development-yellowgreen.svg" />

## Requirements

- python >= 3
- PILLOW >= 7.0.0

## Installation

```bash
$ pip install cnvt
```

If you don't have pip

- Linux

```bash
$ sudo apt install python3-pip
```

## Usage

```bash
$ cnvt [OPTIONS]
```

## Options

```
usage: cnvt [-h] [-v] [-c TYPE FILE_PATH] [-s SAVE_DIR]

optional arguments:
  -h, --help         show this help message and exit
  -v                 shows version of this tool.
  -c TYPE FILE_PATH  convert given file to given type. ['pdf', 'doc', 'excel', 'csv', 'png', 'jpeg', 'jpg']
  -s SAVE_DIR        save the file in given dir.
```

## Examples

Convert PDF to DOC:

```
$ cnvt -c doc ~/Desktop/file.pdf
```

Convert PNG to JPEG:

```
$ cnvt -c jpeg ~/Desktop/image.png
```

## License

[MIT](LICENSE)