create-shopify-data
Generate data for your Shopify store
Last updated 7 months ago by dddeev .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install create-shopify-data 
SYNC missed versions from official npm registry.

???? In active development (and extremely unstable)

create-shopify-data

Version Downloads/week License

Generate dummy data for your Shopify store.

To-do:

  • [x] Delete products, customers, orders
  • [x] Create orders
  • [x] Create products (apparel)
  • [ ] Create products (random)
  • [ ] Tests

Usage

$ npm install -g create-shopify-data
$ create-shopify-data COMMAND
running command...
$ create-shopify-data (-v|--version|version)
create-shopify-data/0.2.1 darwin-x64 node-v10.12.0
$ create-shopify-data --help [COMMAND]
USAGE
  $ create-shopify-data COMMAND
...

Commands

create-shopify-data delete RESOURCE

Delete all orders from your Shopify store.

USAGE
  $ create-shopify-data delete RESOURCE

OPTIONS
  -i, --interval=interval  [default: 500] Specify the interval (in ms) between each Shopify API request. Default (and
                           min) is 500

See code: src/commands/delete.ts

create-shopify-data help [COMMAND]

display help for create-shopify-data

USAGE
  $ create-shopify-data help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

create-shopify-data orders

Create orders using preexisting products

USAGE
  $ create-shopify-data orders

OPTIONS
  -b, --backdate=backdate  [default: 0] The max number of months order creation time can be backdated by. Defaults to 0
                           (no backdate)

  -i, --interval=interval  [default: 500] Specify the interval (in ms) between each Shopify API request. Default (and
                           min) is 500

  -q, --quantity=quantity  [default: 20] The number of orders you would like to create

See code: src/commands/orders.ts

create-shopify-data products:apparel

Create products using the apparel preset

USAGE
  $ create-shopify-data products:apparel

OPTIONS
  -i, --interval=interval  [default: 500] Specify the interval (in ms) between each Shopify API request. Default (and
                           min) is 500

See code: src/commands/products/apparel.ts

create-shopify-data use SHOP ACCESS_TOKEN

Enter your myshopify domain (e.g ping-pong-shop-2) along with an access token or private app password (https://help.shopify.com/en/api/getting-started/authentication/private-authentication). Once authenticated, your credentials persist over usage sessions.

USAGE
  $ create-shopify-data use SHOP ACCESS_TOKEN

OPTIONS
  -h, --help  show CLI help

See code: src/commands/use.ts

Current Tags

  • 0.2.1                                ...           latest (7 months ago)

5 Versions

  • 0.2.1                                ...           7 months ago
  • 0.2.0                                ...           7 months ago
  • 0.1.1                                ...           7 months ago
  • 0.1.0                                ...           7 months ago
  • 0.0.0                                ...           7 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 0
Dependencies (12)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |