harbor/make/photon/prepare/main.py
DQ 1e0c9f7231 Feat: Add config migrator to prepare
deprecated migrator container and move config migration to prepare

Signed-off-by: DQ <dengq@vmware.com>
2020-03-20 03:04:10 +08:00

16 lines
275 B
Python

from commands.prepare import prepare
from commands.gencerts import gencert
from commands.migrate import migrate
import click
@click.group()
def cli():
pass
cli.add_command(prepare)
cli.add_command(gencert)
cli.add_command(migrate)
if __name__ == '__main__':
cli()