akinaka.py 692 Bytes
Newer Older
Afraz Ahmadzadeh's avatar
Afraz Ahmadzadeh committed
1 2 3 4
#!/usr/bin/env python3

import click
from time import gmtime, strftime
5 6
from akinaka_update.commands import update as update_commands
from akinaka_cleanup.commands import cleanup as cleanup_commands
7
from akinaka_rds.commands import copy as copy_commands
8
from akinaka_reporting.commands import reporting as reporting_commands
Afraz Ahmadzadeh's avatar
Afraz Ahmadzadeh committed
9
from akinaka_container.commands import container as container_commands
10
from akinaka_k8s.commands import k8s as k8s_commands
Afraz Ahmadzadeh's avatar
Afraz Ahmadzadeh committed
11 12 13 14 15

@click.group()
def cli():
    pass

16 17
cli.add_command(update_commands)
cli.add_command(cleanup_commands)
18
cli.add_command(copy_commands)
19
cli.add_command(reporting_commands)
Afraz Ahmadzadeh's avatar
Afraz Ahmadzadeh committed
20
cli.add_command(container_commands)
21
cli.add_command(k8s_commands)
Afraz Ahmadzadeh's avatar
Afraz Ahmadzadeh committed
22

23
cli()