0.0.5 • Published 2 years ago

@adobe/aio-cli-plugin-commerce-admin v0.0.5

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

Installation

Prerequisites: node.js, aio-cli. To install a revision from this repository:

$ aio plugins:install @adobe/aio-cli-plugin-commerce-admin

To install globally from a released npm package:

$ aio plugins:install -g @adobe/aio-cli-plugin-commerce-admin

To discover available aio packages:

$ aio discover -i

Local Development

Install project dependencies. npm install

aio plugins:link commerce-gateway/tenant

Configuration

create a config.json file with the following parameters

{
    "baseUrl": "<base_url>",
    "apiKey": "<api_key>"
}

Perform the following command to update the configuration

aio config:set aio-cli-plugin-commerce-admin <path_to_json_file>

Commands

aio commerce-gateway:tenant:create BODYJSONFILE
aio commerce-gateway:tenant:update tenantid BODYJSONFILE
aio commerce-gateway:tenant:get tenantid