Commit 65238a16 authored by Maciej Gol's avatar Maciej Gol

Add simple cli

parent b777473e
venv
*.egg-info
from pathlib import Path
import click
@click.group()
def main() -> None:
"""Yada yada"""
@main.command()
@click.argument("path", type=Path)
def add_key(path: Path) -> None:
pass
from setuptools import setup
with open("README.md", "r") as fh:
long_description = fh.read()
with open("requirements.txt", "r") as fh:
requirements = fh.read().splitlines()
setup(
name="op_askpass",
version="0.0.1",
author="Example Author",
author_email="author@example.com",
description="A small example package",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/pypa/sampleproject",
packages=["op_askpass"],
install_requires=requirements,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
entry_points={
'console_scripts': [
'op-askpass=op_askpass.cli.main:main',
],
},
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment