public GatherCommandLine(IVendorFinder vendorFinder, IVendorGather vendorGather) { _vendorFinder = vendorFinder; _vendorGather = vendorGather; IsCommand("gather"); HasOption("v|vendor=", "Vendor Handle", vendorName => _vendorHandle = vendorName); HasOption("p|price", "Pull down price files only", x => _options.RunOnlyPrices()); HasOption("q|quantity", "Pull down quantity files only", x => _options.RunOnlyQty()); }
public ProcessCommandLine(IVendorProcessor vendorProcessor, IVendorFinder vendorFinder) { _vendorProcessor = vendorProcessor; _vendorFinder = vendorFinder; IsCommand("process"); HasRequiredOption("v|vendor=", "Vendor Handle", s => _vendorHandle = s); HasOption("p|prices", "Run only prices", p => _options.RunOnlyPrices()); HasOption("q|quantity", "Run only quantity", q => _options.RunOnlyQty()); HasOption("e|errors", "Reprocess error files", p => _options.ProcessErrors = true); }
public TuckerRockyAutoMaps(IVendorFinder vendorFinder) { _vendorFinder = vendorFinder; }
public UpdatePriceMappings(IVendorFinder vendorFinder) { _vendorFinder = vendorFinder; }