https://github.com/commercelayer/commercelayer-cli-plugin-microstore
https://github.com/commercelayer/commercelayer-cli-plugin-microstore
commercelayer
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/commercelayer/commercelayer-cli-plugin-microstore
- Owner: commercelayer
- License: mit
- Created: 2022-09-13T13:52:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-12T16:51:46.000Z (about 2 years ago)
- Last Synced: 2024-04-12T21:16:24.272Z (about 2 years ago)
- Topics: commercelayer
- Language: TypeScript
- Homepage:
- Size: 536 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# @commercelayer/cli-plugin-microstore
Commerce Layer CLI Microstore plugin
[](https://oclif.io)
[](https://npmjs.org/package/@commercelayer/cli-plugin-microstore)
[](https://npmjs.org/package/@commercelayer/cli-plugin-microstore)
[](https://github.com/commercelayer/cli-plugin-microstore/blob/master/package.json)
* [Usage](#usage)
* [Commands](#commands)
## Usage
```sh-session
commercelayer COMMAND
commercelayer [COMMAND] (--help | -h) for detailed information about plugin commands.
```
To install as a Commerce Layer CLI plugin run the following command:
```sh-session
$ commercelayer plugins:install microstore
```
## Commands
* [`commercelayer microstore`](#commercelayer-microstore)
### `commercelayer microstore`
Create Microstore URLs.
```sh-session
USAGE
$ commercelayer microstore (-a ) -S [--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= (required) the sku list id
-a, --accessToken= (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
$ cl microstore -S --all --cart
$ cl microstore -S --cart --inline --open
```
_See code: [src/commands/microstore/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-microstore/blob/main/src/commands/microstore/index.ts)_