@commercelayer/cli-plugin-seeder
TypeScript icon, indicating that this package has built-in type declarations

5.1.0 • Public • Published

@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
                                <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

Package Sidebar

Install

npm i @commercelayer/cli-plugin-seeder

Weekly Downloads

75

Version

5.1.0

License

MIT

Unpacked Size

67.2 kB

Total Files

28

Last publish

Collaborators

  • commercelayer.io
  • drpierlu