mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-25 01:58:35 +01:00
1e0c9f7231
deprecated migrator container and move config migration to prepare Signed-off-by: DQ <dengq@vmware.com>
16 lines
275 B
Python
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()
|