Add high-res critical image refresh import
This commit is contained in:
13
src/RolemasterDb.ImportTool/ReimportImagesOptions.cs
Normal file
13
src/RolemasterDb.ImportTool/ReimportImagesOptions.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using CommandLine;
|
||||
|
||||
namespace RolemasterDb.ImportTool;
|
||||
|
||||
[Verb("reimport-images", HelpText = "Regenerate critical table page and cell images and refresh only image metadata in SQLite.")]
|
||||
public sealed class ReimportImagesOptions
|
||||
{
|
||||
[Value(0, MetaName = "table", Required = true, HelpText = "The manifest slug of the critical table to refresh.")]
|
||||
public string Table { get; set; } = string.Empty;
|
||||
|
||||
[Option('d', "db", HelpText = "Optional SQLite database path.")]
|
||||
public string? DatabasePath { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user