GithubHelp home page GithubHelp logo

buildsale.tool's Introduction

About

Simple command-line tool to build all the SKU directories needed for a particular sale

Requirements

  • Ruby 1.9.3

How to

To use simply fire up the terminal and type 'buildsale' a prompt will appear asking you to enter the name of your sale, e.g. "Simply Cushions", the number of SKU directories you require and the prefix you want to use for those SKU directories, e.g. "SSA". After which it will create directories in the format below ready for the relevant images to be dropped in.

Simply Cushions/ Main Image Skinny Image SSA1 Main Image Other Images SSA2 ... ...

These will be placed in the "Flash Sales" directory in your home folder, if one doesn't exist then one will be created for you.

If you already sale created and simply want to add extra SKU's to it then make sure it's in the "Flash Sales" directory and run the buildsale script. At the prompt enter the same name of your sale directory & the same prefix then enter the from & to numbers you want for the SKU's to be created.

The tool is designed to create directories and doesn't delete any if they already exist, this way the chances of human error are minimised.

Happy sales,

buildsale.tool's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.