This repository has been archived on 2020-06-17. You can view files and clone it, but cannot push or open issues or pull requests.
autonomic/autonomic/__main__.py

30 lines
725 B
Python
Raw Normal View History

2020-04-03 12:46:29 +00:00
"""Command-line entrypoint."""
import click
from autonomic.command import actions, coophost, cooppaas, init
2020-04-03 12:46:29 +00:00
@click.group()
@click.pass_context
2020-04-11 19:10:29 +00:00
def autonomic(ctx):
2020-04-03 12:46:29 +00:00
"""
\b
___ _ _
/ _ \ | | (_)
/ /_\ \_ _| |_ ___ _ __ ___ _ __ ___ _ ___
| _ | | | | __/ _ \| '_ \ / _ \| '_ ` _ \| |/ __|
| | | | |_| | || (_) | | | | (_) | | | | | | | (__
\_| |_/\__,_|\__\___/|_| |_|\___/|_| |_| |_|_|\___|
Hack the planet!
2020-04-03 12:46:29 +00:00
""" # noqa
2020-04-11 19:10:29 +00:00
pass
2020-04-03 12:46:29 +00:00
autonomic.add_command(init.init)
2020-04-10 23:45:53 +00:00
autonomic.add_command(actions.actions)
autonomic.add_command(coophost.coophost)
autonomic.add_command(cooppaas.cooppaas)