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

@kibocommerce/import-export-cli

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kibocommerce/import-export-cli

kibo import export cli

  • 0.0.6
  • latest
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

Kibo Import Export (CLI Tool)

This CLI tool provides utilities for working with the Kibo Import Export API.

Prerequisites

Ensure you have Node.js 16+ installed.

Setup

  1. Install dependencies:

    npm install @kibocommerce/import-export-cli -g
    
  2. Make sure the .env file is set up with the required environment variables:

    • API_URL: The API endpoint.
    • CLIENT_ID: Client ID for the API.
    • CLIENT_SECRET: Client secret for the API.

    You can use the init-env command to create an empty .env file.

    kibo-import-export init-env
    

Available Commands

  • validate: runs thru local validatoin
  • validate-config: Validate the configuration settings.
  • init-env: Creates an empty .env file.

Available Options

  • all: include all files
  • directory: location of the csv files
  • product-type-attributes: include the productTypeAttributes file

Usage

To use the CLI tool, run the following command:

kibo-import-export [command] [options]

Replace [command] with any of the available commands listed above.

Example:

kibo-import-export validate --all

Environment Variables

Make sure you set up the following environment variables in your .env file:

API_URL=https://t***.com/api
CLIENT_ID=YourClientID
CLIENT_SECRET=YourClientSecret

Contributing

Please raise an issue or pull request on our GitHub repository if you have any fixes, enhancements, or suggestions.

License

This project is licensed under the MIT License. See the LICENSE file for more details.


If you have any issues, please reach out to our support team or check our documentation for more details.

//create a readme from bin/index Catalog Validator Catalog Validator is a command-line tool for validating catalog data against a remote API. It uses the CatalogFetcher and Validator classes to fetch and validate catalog data.

Installation To install Catalog Validator, run the following command:

Usage Catalog Validator can be used to validate catalog data in a directory. The following options are available:

--directory (-d): The directory to process. Defaults to the current directory. --all: Validate all files in the directory. --product-type-attributes: Validate only the productTypeAttributes file. To validate catalog data, run the following command:

To validate the productTypeAttributes file, run the following command:

To create an empty .env file, run the following command:

Configuration Catalog Validator requires the following environment variables to be set:

API_URL: The URL of the remote API. CLIENT_ID: The client ID for accessing the remote API. CLIENT_SECRET: The client secret for accessing the remote API. License Catalog Validator is licensed under the MIT License.

FAQs

Package last updated on 27 Sep 2023

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