Metadata-Version: 2.1
Name: command2img
Version: 0.2.0
Summary: This is an simple program to convert a command line to image.
Home-page: https://github.com/emanuel-alves/command2img
Author: Emanuel Alves
Author-email: emanuel.alves@unifei.edu.br
License: MIT
Platform: UNKNOWN
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Utilities
Description-Content-Type: text/markdown

# command2img


[![GitHub license](https://img.shields.io/github/license/emanuel-alves/command2img?color=blue)](https://github.com/emanuel-alves/command2img/blob/main/LICENSE)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/command2img?color=blue&label=pypi%20download)](https://pypi.org/project/command2img/)
[![PyPI](https://img.shields.io/pypi/v/command2img?color=blue&label=version%20)](https://pypi.org/project/command2img/)
## Motivation

This program was developed from the need I had to capture the output of a program as an image to insert into a report.

## Install

To install it, you can use the python package manager:

    pip install command2img

## Update

    pip install --upgrade command2img

## Uninstall 

    pip uninstall command2img

## Examples

### using exa (tree):
    exa --tree --icons | command2img
![tree image](https://raw.githubusercontent.com/emanuel-alves/command2img/main/images/tree.png)

### using echo:
    echo "Example echo" | command2img -fs 50 -m 15
![echo image](https://raw.githubusercontent.com/emanuel-alves/command2img/main/images/echo.png)

### using cat:
    cat README.md | command2img -bg "black" -tf "white" 
![cat image](https://raw.githubusercontent.com/emanuel-alves/command2img/main/images/cat.png)


