添加 YAML 导器

This commit is contained in:
2020-11-12 22:36:04 +08:00
parent 9209b17b06
commit 851670887b
13 changed files with 140 additions and 88 deletions

View File

@@ -6,7 +6,7 @@ import * as colors from "colors";
(async function main(argv: string[]) {
let config_file = argv[argv.length - 1];
if (config_file.endsWith(".json") && FileAccess.exists(config_file)) {
if (config_file.endsWith(".yaml") && FileAccess.exists(config_file)) {
let app = new ExcelExporterApplication(config_file);
app.parse();
app.export();