@commercelayer/cli-plugin-seeder
v5.1.2
Published
Commerce Layer CLI Seeder plugin
Downloads
298
Readme
@commercelayer/cli-plugin-seeder
Commerce Layer CLI seeder plugin
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
<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