From cdd22b604a9aaf00f729c9d5fe6c2815ff3ad4b7 Mon Sep 17 00:00:00 2001 From: Lenka Segura Date: Dec 06 2018 10:42:30 +0000 Subject: add the cranc module --- diff --git a/README.md b/README.md index 2580e5f..95feb39 100644 --- a/README.md +++ b/README.md @@ -20,3 +20,11 @@ Create the virtual environment: `python3 -m virtualenv env` `source env/bin/activate` + +Install dependencies: + +`pip install -t requirements.txt` + +Run the app: + +`cranc` diff --git a/cranc/__init__.py b/cranc/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/cranc/__init__.py diff --git a/cranc/__pycache__/__init__.cpython-37.pyc b/cranc/__pycache__/__init__.cpython-37.pyc new file mode 100644 index 0000000..bfa08fa Binary files /dev/null and b/cranc/__pycache__/__init__.cpython-37.pyc differ diff --git a/cranc/__pycache__/cranc.cpython-37.pyc b/cranc/__pycache__/cranc.cpython-37.pyc new file mode 100644 index 0000000..982b422 Binary files /dev/null and b/cranc/__pycache__/cranc.cpython-37.pyc differ diff --git a/cranc/cranc.py b/cranc/cranc.py new file mode 100644 index 0000000..fa40ac8 --- /dev/null +++ b/cranc/cranc.py @@ -0,0 +1,12 @@ +import click +import requests + +@click.group() +def lists(): + pass + +@click.command() +def list_pull_requests(): + pass + +lists.add_command(list_pull_requests) diff --git a/setup.py b/setup.py index 8c7a0c4..96e9dd8 100755 --- a/setup.py +++ b/setup.py @@ -14,4 +14,8 @@ setup( packages=['cranc'], author='Lenka Segura', author_email='lenka@sepu.cz', - ) + entry_points=""" + [console_scripts] + cranc=cranc.cranc:lists + """ +)