0.1.2 • Published 2 years ago

bigcommerce-command-line-product-generator v0.1.2

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

GitHub Actions

Description

This tool gives an interactive command line tool, that allows you to generate fake Bigcommerce products and writes them to json files.

Installation

Stable version:

$ npm install -g bigcommerce-command-line-product-generator

Usage

Tool output

Usage: generate-products <command> [options]

Options:
      --version     Show version number                                   [boolean]
  -f, --file        File to save too                                      [required]
  -a, --amount      Amount of products to write to json file [number]     [default: 10]
  -files, --files   Amount of product files to make in json [number]      [default: 10]
  -h, --help        Show help                                             [boolean]

Examples:
  generate-products -f foo.json --amount 16 --files 6     generate bigcommerce products to json

Simple Example

$ generate-products -f foo.json --amount 16 --files 1
The file was saved!

$ generate-products -f foo.json --amount 16
Only creates one file by default

$ generate-products -f foo.json
Only creates one file by default and generates 10 products by default