Get a nice ASCII message showing
This commit is contained in:
parent
90a3239ffe
commit
29ad4dd905
21
autonomic/__main__.py
Normal file
21
autonomic/__main__.py
Normal 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
0
autonomic/__version__.py
Normal file
@ -6,6 +6,21 @@ requires = [
|
|||||||
]
|
]
|
||||||
build-backend = "setuptools.build_meta"
|
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]
|
[tool.black]
|
||||||
line-length = 80
|
line-length = 80
|
||||||
target-version = ["py38"]
|
target-version = ["py38"]
|
||||||
|
@ -41,10 +41,16 @@ package_dir =
|
|||||||
= .
|
= .
|
||||||
packages = find:
|
packages = find:
|
||||||
zip_safe = False
|
zip_safe = False
|
||||||
|
install_requires =
|
||||||
|
click >= 7.1.1, <= 8.0
|
||||||
|
|
||||||
[options.packages.find]
|
[options.packages.find]
|
||||||
where = .
|
where = .
|
||||||
|
|
||||||
|
[options.entry_points]
|
||||||
|
console_scripts =
|
||||||
|
autonomic = autonomic.__main__:main
|
||||||
|
|
||||||
[build_sphinx]
|
[build_sphinx]
|
||||||
all_files = 1
|
all_files = 1
|
||||||
build-dir = docs/build
|
build-dir = docs/build
|
||||||
|
Reference in New Issue
Block a user