- Notifications
You must be signed in to change notification settings - Fork0
get the best prices at domino's
License
NDagestad/cheapinos
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a cool script to find the cheapest combination of ingredients on dominospizzas.
The exemple data is for dominos in france but it should work everywhere as longas they have the same system (you can replace any ingredient by any other andthe difference in price will be added to the order)
I made this for myself and if it doesn't work for you and you spent more thanthe optimal amount, well to bad, send a patch ! ¯\_(ツ)_/¯(If you are seeing this onhttps://git.dagestad.fr/~nicolai/cheapinos themailling list is broken but you can send me a patch atnicolai.whathever@dagestad.fr)
go build
That's it (it should at least be that easy)
./cheapinos -h
To see how to use it
The ingredients file should be a json array of objects with aname: string
andprice: int
attributs.
The menu file should be a json array of objects with aname: string
,price: int
andingredients: []string
attributs