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

1.6.2 • Public • Published

@commercelayer/cli-plugin-microstore

Commerce Layer CLI Microstore plugin

oclif Version Downloads/week License

Usage

commercelayer COMMAND

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

To install as a Commerce Layer CLI plugin run the following command:

$ commercelayer plugins:install microstore

Commands

commercelayer microstore

Create Microstore URLs.

USAGE
  $ commercelayer microstore (-a <value> ) -S <value> [--open] [-A] [-I -C]

FLAGS
  -A, --all                  activate the Buy All button
  -C, --cart                 activate the Cart application
  -I, --inline               disable redirect to Cart application
  -S, --skuListId=<value>    (required) the sku list id
  -a, --accessToken=<value>  (required)
  --open                     open microstore URL in default browser

DESCRIPTION
  create Microstore URLs

EXAMPLES
  $ commercelayer microstore -S <sku-list-id>

  $ cl microstore -S <sku-list-id> --all --cart

  $ cl microstore -S <sku-list-id> --cart --inline --open

See code: src/commands/microstore/index.ts

Package Sidebar

Install

npm i @commercelayer/cli-plugin-microstore

Weekly Downloads

326

Version

1.6.2

License

MIT

Unpacked Size

19.5 kB

Total Files

18

Last publish

Collaborators

  • commercelayer.io
  • drpierlu