@magento/aio-cli-plugin-commerce-admin
v0.0.3
Published
Basic working repo structure for Adobe teams to use as a starting point for their own plugins, and available as a github template to the @adobe github org.
Downloads
13
Maintainers
Keywords
Readme
Installation
Prerequisites: node.js, aio-cli. To install a revision from this repository:
$ aio plugins:install @magento/aio-cli-plugin-commerce-admin
To install globally from a released npm package:
$ aio plugins:install -g @magento/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>",
"authorizationToken": "<authorization_token>",
"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