Class ProductImportCommand

java.lang.Object
org.machanism.macha.apps.adapters.cli.ProductImportCommand

@ShellComponent public class ProductImportCommand extends Object
  • Constructor Details

    • ProductImportCommand

      public ProductImportCommand(org.machanism.macha.core.interactors.entity.management.EntitySourceImport<org.machanism.macha.core.entities.product.AbstractProduct<org.machanism.macha.core.entities.product.AbstractVariant>> productImport)
  • Method Details

    • products

      @ShellMethod(group="import", value="Import product data from a source by URI. Default seeding URI: classpath:///seeds/products.csv.") public Integer products(@ShellOption(value="uri",defaultValue="classpath:///seeds/products.csv",optOut=true) URI uri) throws IOException
      Throws:
      IOException