UNPKG

@gameroom/cli

Version:

A command line tool for Gameroom

18 lines (16 loc) 850 B
const cosmetic = require('cosmetic'), { join } = require('path'), { enums: { sale_status }, models: { Address, Container, Image, Line, Payment, Price, Product, Sale, Store, Unit, Unit_Extended } } = require('@gameroom/kit'), { componentString, getAll, grGreen, timeout, writeCSVFile } = require('../../../helpers'), { Shopify } = require('../../../models'), { config, conversions, google_product_categories, spinner } = require('../../../refs'), LIMIT = 500, SHOPIFY_LIMIT = 250 module.exports = async () => { spinner.info(config.last_shopify_push ? `last shopify push was ${config.last_shopify_push}` : 'no shopify push yet') spinner.info(config.last_shopify_order ? `last shopify orde was ${config.last_shopify_order}` : 'no shopify order yet') spinner.succeed(`printed ${cosmetic.green('shopify')} config`).stop() }