From 7c4e1c6d5fe88318eac21f3b11664d4c8ce44669 Mon Sep 17 00:00:00 2001 From: Neill Cox Date: Tue, 24 Oct 2023 13:13:28 +1100 Subject: [PATCH] :construction: remove commented code --- src/gitea_gitlab_exporter/cli.py | 29 ----------------------------- 1 file changed, 29 deletions(-) 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)