@commercelayer/cli-plugin-microstore
Commerce Layer CLI Microstore plugin
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) custom access token to use instead of the one used for login
--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