From eee797dcb6c3a56e05dd17b54561d04aa7960d3c Mon Sep 17 00:00:00 2001 From: Matteo Campinoti Date: Fri, 22 Nov 2024 16:06:30 +0100 Subject: [PATCH] commands.edit - add rename command --- digiarch/commands/edit/edit.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/digiarch/commands/edit/edit.py b/digiarch/commands/edit/edit.py index 2a97df37..fbb8037a 100644 --- a/digiarch/commands/edit/edit.py +++ b/digiarch/commands/edit/edit.py @@ -5,6 +5,7 @@ from .processed import cmd_processed_original from .remove import cmd_remove_master from .remove import cmd_remove_original +from .rename import cmd_rename_original @group("edit", no_args_is_help=True, short_help="Edit the database.") @@ -57,6 +58,7 @@ def grp_edit_master(): # noinspection DuplicatedCode grp_edit_original.add_command(cmd_processed_original, cmd_processed_original.name) grp_edit_original.add_command(cmd_lock_original, cmd_lock_original.name) +grp_edit_original.add_command(cmd_rename_original, cmd_rename_original.name) grp_edit_original.add_command(cmd_remove_original, cmd_remove_original.name) grp_edit_master.add_command(cmd_processed_master, cmd_processed_master.name)