Add phase 1 critical import tool
This commit is contained in:
13
src/RolemasterDb.ImportTool/ExtractOptions.cs
Normal file
13
src/RolemasterDb.ImportTool/ExtractOptions.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using CommandLine;
|
||||
|
||||
namespace RolemasterDb.ImportTool;
|
||||
|
||||
[Verb("extract", HelpText = "Extract a critical table PDF into a text artifact.")]
|
||||
public sealed class ExtractOptions
|
||||
{
|
||||
[Value(0, MetaName = "table", Required = true, HelpText = "The manifest slug of the critical table to extract.")]
|
||||
public string Table { get; set; } = string.Empty;
|
||||
|
||||
[Option('d', "db", HelpText = "Optional SQLite database path. Accepted for command consistency.")]
|
||||
public string? DatabasePath { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user