about summary refs log tree commit diff
path: root/MatrixUtils.RoomUpgradeCLI/Program.cs
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-08-16 00:19:40 +0200
committerRory& <root@rory.gay>2025-08-16 00:19:40 +0200
commit97e5c8864c7efd79f97f1e527997d09cff635399 (patch)
tree562cdd066b2c74eafe7ddb398ac5a227c97872e3 /MatrixUtils.RoomUpgradeCLI/Program.cs
parentRoom upgrade CLI changes (diff)
downloadMatrixUtils-97e5c8864c7efd79f97f1e527997d09cff635399.tar.xz
Further room cleanup work
Diffstat (limited to 'MatrixUtils.RoomUpgradeCLI/Program.cs')
-rw-r--r--MatrixUtils.RoomUpgradeCLI/Program.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/MatrixUtils.RoomUpgradeCLI/Program.cs b/MatrixUtils.RoomUpgradeCLI/Program.cs

index c4157e9..a93a329 100644 --- a/MatrixUtils.RoomUpgradeCLI/Program.cs +++ b/MatrixUtils.RoomUpgradeCLI/Program.cs
@@ -23,9 +23,13 @@ foreach (var group in args.Split(";")) { }); if (argGroup[0] == "new") builder.Services.AddHostedService<NewFileCommand>(); + else if (argGroup[0] == "new-from-room-dir") builder.Services.AddHostedService<NewFromRoomDirCommand>(); else if (argGroup[0] == "modify") builder.Services.AddHostedService<ModifyCommand>(); else if (argGroup[0] == "import-upgrade-state") builder.Services.AddHostedService<ImportUpgradeStateCommand>(); else if (argGroup[0] == "execute") builder.Services.AddHostedService<ExecuteCommand>(); + // dev cmds + else if (argGroup[0] == "dev-delete-room") builder.Services.AddHostedService<DevDeleteRoomCommand>(); + else if (argGroup[0] == "dev-get-room-dir-state") builder.Services.AddHostedService<DevGetRoomDirStateCommand>(); else { Console.WriteLine("Unknown command. Use 'new', 'modify', 'import-upgrade-state' or 'execute'."); return;