Commerce Layer CLI seeder plugin
commercelayer COMMAND
commercelayer [COMMAND] (--help | -h) for detailed information about plugin commands.
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
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
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
<options: single_sku|multi_market|custom>
-k, --keep keep existing resources without updating them
-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
execute Commerce Layer seeder
ALIASES
$ commercelayer seed
EXAMPLES
$ commercelayer seeder:seed -u <seedUrl>
$ cl seed -b multi_market
See code: src/commands/seeder/seed.ts