npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

doris-cli

v0.0.59

Published

Command line tool for bulk uploading worksheets into mix project.

Downloads

18

Readme

doris-cli

Command line tool for bulk uploading worksheets into mix project.

Requirements

Before installing doris-cli you must have NodeJS installed on your machine.

Installation

To install run the following command:

$ npm install --global doris-cli

Usage

Configure

You also need to configure the BACKOFFICE_API enviroment variable with the backoffice url endpoint:

# macos, linux
$ export BACKOFFICE_API=https://<backoffice url endpoint>
$ export ERIS_API=https://<eris url endpoint>
# windows
$ set BACKOFFICE_API=https://<backoffice url endpoint>
$ set ERIS_API=https://<eris url endpoint>

Partner

To create a partner run in your terminal:

This fields are optional:

  • email (string)
  • whatsapp (string)
  • crawler
$ doris-cli partner create <partner name>

# Examples:
$ doris-cli partner create Reserva
$ doris-cli partner create "Use Reserva" --email [email protected] --whatsapp 5511912341234 --crawler

Products

The products xlsx sheet products sheet

To import run in your terminal:

$ doris-cli products import <file.xlsx> --apikey <apikey>

# Examples:
$ doris-cli products import products.xlsx --apikey 098f6bcd4621d373cade4e832627b4f6
$ doris-cli products import ~/Downloads/products.xlsx --apikey 098f6bcd4621d373cade4e832627b4f6

Suggestions

The suggestions csv structure:

  • model_order (number)
  • top_sku (string)
  • bottom_sku (string)
  • outer_sku (string)
  • full_sku (string)
  • jumpsuit_sku (string)

To import run in your terminal:

$ doris-cli suggestions import <file.csv> --apikey <apikey>

# Examples:
$ doris-cli suggestions import suggestions.csv --apikey 098f6bcd4621d373cade4e832627b4f6
$ doris-cli suggestions import ~/Downloads/suggestions.csv --apikey 098f6bcd4621d373cade4e832627b4f6

Pre-Models

image_url;skin_tone_id;model_size_id;gender

The pre-movels csv structure:

  • image_url (string)
  • skin_tone_id (number)
  • model_size_id (number)
  • gender (string): MALE || FEMALE
$ doris-cli pre-models import <file.csv>

# Examples:
$ doris-cli pre-models import pre-models.csv
$ doris-cli pre-models import ~/Downloads/pre-models.csv

AutoMix

top_sku;bottom_sku

The automix csv structure:

  • top_sku (string)
  • bottom_sku (string)
$ doris-cli automix import <file.csv> --apikey 098f6bcd4621d373cade4e832627b4f6

# Examples:
$ doris-cli automix import automix.csv --apikey 098f6bcd4621d373cade4e832627b4f6
$ doris-cli automix import ~/Downloads/automix.csv --apikey 098f6bcd4621d373cade4e832627b4f6

Triggering Re-Index

To create a reindex trigger you must run in your terminal:

These fields are required:

  • <type> OPTIONS: marvik-garment | marvik-avatar
  • api-key VALUE
$ doris-cli reindex <type> --apikey <api-key>

# Examples:
$ doris-cli reindex marvik-garment --apikey 098f6bcd4621d373cade4e832627b4f6
$ doris-cli reindex marvik-avatar --apikey 098f6bcd4621d373cade4e832627b4f6

SizingMeasurements

The sizing measurements xls structure:

  • brand (number)
  • gender (FEMALE or Male)
  • category (TOP or BOTTOM)
  • size (string)
  • measurements_chest_max (number)
  • measurements_waist_max (number)
  • measurements_hip_max (number)

To import run in your terminal:

$ doris-cli sizing-measurements import <file.xls> --apikey <apikey>

# Examples:
$ doris-cli sizing-measurements import measurements.xls --apikey 098f6bcd4621d373cade4e832627b4f6
$ doris-cli sizing-measurements import ~/Downloads/measurements.xls --apikey 098f6bcd4621d373cade4e832627b4f6

AssociateCategories

The associate-categories xls structure:

  • name (string)
  • category_order (number)

To import run in your terminal:

$ doris-cli associate-categories import <file.xls> --apikey <apikey>

# Examples:
$ doris-cli associate-categories import associate-categories.xls --apikey 098f6bcd4621d373cade4e832627b4f6
$ doris-cli associate-categories import ~/Downloads/associate-categories.xls --apikey 098f6bcd4621d373cade4e832627b4f6

AssociatePreModels

The associate-pre-models xls structure:

  • order_model (number)
  • default_model (TRUE or FALSE)
  • pre_model_id (number)
  • preview (TRUE or FALSE)

To import run in your terminal:

$ doris-cli associate-pre-models import <file.xls> --apikey <apikey>

# Examples:
$ doris-cli associate-pre-models import associate-pre-models.xls --apikey 098f6bcd4621d373cade4e832627b4f6
$ doris-cli associate-pre-models import ~/Downloads/associate-pre-models.xls --apikey 098f6bcd4621d373cade4e832627b4f6