Skip to content

commercelayer/commercelayer-cli-plugin-seeder

Repository files navigation

@commercelayer/cli-plugin-seeder

Commerce Layer CLI seeder plugin

oclif Version Downloads/week License

Usage

commercelayer COMMAND

commercelayer [COMMAND] (--help | -h) for detailed information about plugin commands.

Commands

commercelayer seeder:check

Execute a check on seeder data.

USAGE
  $ commercelayer seeder:check [-b single_sku|multi_market|custom] [-n <value> -u <value>] [-r]

FLAGS
  -b, --businessModel=<option>  [default: single_sku] the kind of business model you want to import
                                <options: single_sku|multi_market|custom>
  -n, --name=<value>            the name of the business model file to use
  -r, --relationships           check resource relationships
  -u, --url=<value>             [default: https://data.commercelayer.app/seeder] seeder data URL

DESCRIPTION
  execute a check on seeder data

EXAMPLES
  $ commercelayer seeder:check -u <seedUrl>

  $ cl seeder:check -b single_sku

See code: src/commands/seeder/check.ts

commercelayer seeder:clean

Clean previously imported seeder data.

USAGE
  $ commercelayer seeder:clean [-b single_sku|multi_market|custom] [-n <value> -u <value>]

FLAGS
  -b, --businessModel=<option>  [default: single_sku] the kind of business model you want to import
                                <options: single_sku|multi_market|custom>
  -n, --name=<value>            the name of the business model file to use
  -u, --url=<value>             [default: https://data.commercelayer.app/seeder] seeder data URL

DESCRIPTION
  clean previously imported seeder data

EXAMPLES
  $ commercelayer seeder:clean -u <seedUrl>

  $ cl seeder:clean -b multi_market

See code: src/commands/seeder/clean.ts

commercelayer seeder:seed

Execute Commerce Layer seeder.

USAGE
  $ commercelayer seeder:seed [-b single_sku|multi_market|custom] [-n <value> -u <value>] [-k]

FLAGS
  -b, --businessModel=<option>  [default: single_sku] the kind of business model you want to import