Пример #1
0
 static bool ExcelToSeed(FromOptions opts)
 {
     if (opts.config != null && opts.config.Length > 0)
     {
         opts = BasicOptions.Load(opts.config).FromOptions(
             files: opts.files,
             input: opts.input,
             output: opts.output
             );
     }
     return(SeedTableInterface.ExcelToSeed(opts));
 }
Пример #2
0
 static bool SeedToExcel(ToOptions opts)
 {
     if (opts.config != null && opts.config.Length > 0)
     {
         opts = BasicOptions.Load(opts.config).ToOptions(
             files: opts.files,
             seedInput: opts.seedInput,
             xlsxInput: opts.xlsxInput,
             output: opts.output
             );
     }
     return(SeedTableInterface.SeedToExcel(opts));
 }