Added convert-atx command to convert ATX files to PNG files.
This commit is contained in:
parent
bac244eb2f
commit
f5de8cca2b
3 changed files with 16 additions and 0 deletions
13
DgfTxmConvert/Program.cs
Normal file → Executable file
13
DgfTxmConvert/Program.cs
Normal file → Executable file
|
@ -114,6 +114,19 @@ namespace DgfTxmConvert
|
|||
});
|
||||
});
|
||||
|
||||
app.Command("convert-atx", config =>
|
||||
{
|
||||
config.FullName = "Converts ATX to PNG";
|
||||
config.Description = "Convert ATX files to PNG files";
|
||||
var inPath = config.Argument("inPath", "path").IsRequired();
|
||||
var filter = config.Argument("filter", "filter").IsRequired();
|
||||
config.HelpOption();
|
||||
config.OnExecute(() =>
|
||||
{
|
||||
BulkConvertAtx(inPath.Value, filter.Value, false);
|
||||
});
|
||||
});
|
||||
|
||||
app.Command("dump-font", config =>
|
||||
{
|
||||
config.FullName = "Dump kanji font";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue