diff --git a/src/gitea_gitlab_exporter/cli.py b/src/gitea_gitlab_exporter/cli.py index 27ea8b9..526ce93 100644 --- a/src/gitea_gitlab_exporter/cli.py +++ b/src/gitea_gitlab_exporter/cli.py @@ -166,32 +166,3 @@ def click_get_user(ctx): cli.add_command(click_get_user) - -# def cli_list_projects(args): -# logging.debug("cli_list_projects called") - -# projects = list_projects(args) - -# if args.format == "table": -# tbl = PrettyTable() -# tbl.align = "l" -# tbl.field_names = [ -# "ID", -# "Name", -# # "Description" -# ] - -# for row in projects: -# tbl.add_row( -# [ -# row["id"], -# row["name"], -# # row["description"][:50] if row["description"] else "" -# ] -# ) - -# print(tbl) -# elif args.format == "json": -# print(json.dumps(projects)) -# else: -# print(projects)