Giter VIP home page Giter VIP logo

hslm's Introduction

Herr's Shopping List Manager

A CLI tool that easily allows to compare prices for products among different stores.

Installation

This project has the following dependencies you need to have installed:

This project was made with lua 5.1, but should also run on lua 5.2 and luaJIT.

When you have all the dependencies, simply clone the project to a folder of your choice by running following command:

  git clone https://github.com/HerrSubset/hslm

To install the project, simply run:

  sudo make install

Usage

Overview Screen

The program is started by typing hslm in the command line and you'll find an empty overview screen. This is the overview screen, where all your different price comparisons are listed. You can use the following commands to perform actions in this screen:

  • create [name] creates a new price comparison project and immediately takes you to the corresponding page.

  • delete [name] deletes one of your price comparison projects.

  • To select an existing project, just type its name.

  • To return to the command line, type q, back or exit.

Price Comparison Screen

This screen shows you the items and what they cost in different stores. There's also a column with the lowest price per item, and a row with the totals of every column. The way you interact with this screen is through the following commands:

  • update [storename] [itemname] [price] allows you to set the price for a specific item in a certain store. In case the item and/or the store doesn't exist yet, it will be created.

  • remove <item/store> [name] allows you to remove an item with the given name. For example, you would run remove item cpu if you want to remove the entire row of prices for the item cpu.

  • Finally, you can use q, back or exit to return to the overview screen.

There's no need to save your work, it's being taken care of on the fly.

hslm's People

Contributors

herrsubset avatar

Watchers

James Cloos avatar  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.