Skip to content

Commit

Permalink
🔖 v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
UltiRequiem committed Feb 7, 2022
1 parent c1546fc commit 845a8ff
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
drawitor/__pycache__/
dist/
2 changes: 2 additions & 0 deletions drawitor/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Exports
from .core import draw, draw_image, draw_gif

from .cli import main


__version__ = "0.1.0"
11 changes: 2 additions & 9 deletions drawitor/__main__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
from argparse import ArgumentParser
from .core import draw
from . import main

drawitor = ArgumentParser(description="Draw Images or GIFs in your terminal")

drawitor.add_argument("image", type=str, help="Image to draw")

args = drawitor.parse_args()

draw(args.image)
main()
12 changes: 12 additions & 0 deletions drawitor/cli.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from argparse import ArgumentParser
from .core import draw


def main():
drawitor = ArgumentParser(description="Draw Images or GIFs in your terminal")

drawitor.add_argument("image", type=str, help="Image to draw")

args = drawitor.parse_args()

draw(args.image)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "drawitor"
version = "0.1.0"
version = "0.1.1"
description = "Draw Images or GIFs in your terminal."
authors = ["Eliaz Bobadilla <eliaz.bobadilladev@gmail.com>"]
readme = "README.md"
Expand Down

0 comments on commit 845a8ff

Please sign in to comment.