Get a nice ASCII message showing

This commit is contained in:
Luke Murphy 2020-04-03 14:46:29 +02:00
parent 90a3239ffe
commit 29ad4dd905
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
4 changed files with 42 additions and 0 deletions

21
autonomic/__main__.py Normal file
View File

@ -0,0 +1,21 @@
"""Command-line entrypoint."""
import click
@click.command()
def main():
"""
\b
___ _ _
/ _ \ | | (_)
/ /_\ \_ _| |_ ___ _ __ ___ _ __ ___ _ ___
| _ | | | | __/ _ \| '_ \ / _ \| '_ ` _ \| |/ __|
| | | | |_| | || (_) | | | | (_) | | | | | | | (__
\_| |_/\__,_|\__\___/|_| |_|\___/|_| |_| |_|_|\___|
""" # noqa
pass
if __name__ == '__main__':
main()

0
autonomic/__version__.py Normal file
View File

View File

@ -6,6 +6,21 @@ requires = [
]
build-backend = "setuptools.build_meta"
[tool.poetry]
name = "autonomic"
version = "0.0.1"
description = "Command line utility belt for Autonomic"
authors = ["Luke Murphy <lukewm@riseup.net>"]
[tool.poetry.dependencies]
python = ">= 3.8.0"
[tool.poetry.dev-dependencies]
black = "^19.10b0"
isort = "^4.3.21"
flake8 = "^3.7.9"
[tool.black]
line-length = 80
target-version = ["py38"]

View File

@ -41,10 +41,16 @@ package_dir =
= .
packages = find:
zip_safe = False
install_requires =
click >= 7.1.1, <= 8.0
[options.packages.find]
where = .
[options.entry_points]
console_scripts =
autonomic = autonomic.__main__:main
[build_sphinx]
all_files = 1
build-dir = docs/build