Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@commercelayer/cli

Package Overview
Dependencies
Maintainers
0
Versions
187
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commercelayer/cli

Commerce Layer CLI

  • 6.2.6
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Commerce Layer CLI

oclif Version Downloads/week License CodeQL

The official Commerce Layer CLI which helps you to manage your Commerce Layer applications right from the terminal.

Commerce Layer CLI demo

What is Commerce Layer?

Commerce Layer is a multi-market commerce API and order management system that lets you add global shopping capabilities to any website, mobile app, chatbot, wearable, voice, or IoT device, with ease. Compose your stack with the best-of-breed tools you already mastered and love. Make any experience shoppable, anywhere, through a blazing-fast, enterprise-grade, and secure API.

Table of contents

Installation

Run the command below to install the CLI using your favorite package manager:

npm install -g @commercelayer/cli
yarn global add @commercelayer/cli

More installation options, coming soon...

Usage

Installing the CLI provides access to the commercelayer, clayer, and cl command.

$ (commercelayer | clayer | cl) COMMAND

$ commercelayer (-v | version | --version) to check the version of the CLI you have installed.

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

Kindly check out this quick step-by-step example which will show you how to place an order using this CLI.

Commands

The Commerce Layer CLI supports the following commands:

Plugins

The Commerce Layer CLI currently supports the following plugins:

  • resources - Execute CRUD operations on API resources.
  • seeder - Execute Commerce Layer seeder.
  • imports - Import resources in Commerce Layer.
  • webhooks - Manage webhooks in Commerce Layer.
  • orders - Execute actions on orders in Commerce Layer.
  • checkout - Generate checkout URLs.
  • triggers - Execute actions on resources in Commerce Layer.
  • token - Manage Commerce Layer access tokens.
  • microstore - Generate Microstore URLs.
  • exports - Export resources from Commerce Layer.
  • cleanups - Cleanup resources from Commerce Layer.
  • tags - Manage resources tags in Commerce Layer.
  • provisioning - Make requests to Commerce Layer's Provisioning API.

You can run the command below to get a list of all available CLI plugins:

commercelayer plugins:available

You can run the command below to update all available CLI plugins:

commercelayer plugins:update

Contributors Guide

  1. Fork this repository (learn how to do this here).

  2. Clone the forked repository like so:

    git clone https://github.com/<your username>/commercelayer-cli.git && cd commercelayer-cli
    
  3. Make your changes and create a pull request (learn how to do this).

  4. Someone will attend to your pull request and provide some feedback.

Need help?

  1. Join Commerce Layer's Slack community.

  2. Create an issue in this repository.

  3. Ping us on Twitter.

License

This repository is published under the MIT license.

Keywords

FAQs

Package last updated on 21 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc