An open API service indexing awesome lists of open source software.

https://github.com/andriykohut/moldyfridge

simple fridge tracker in golang
https://github.com/andriykohut/moldyfridge

Last synced: 3 months ago
JSON representation

simple fridge tracker in golang

Awesome Lists containing this project

README

        

moldyfridge
===========

*Eat your food before it gets moldy*

simple fridge tracker in golang

```bash
moldyfridge -h
moldyfridge.

Usage:
moldyfridge (add | rm) ...
moldyfridge (add | rm) [--amount ]
moldyfridge ls
moldyfridge search
moldyfridge reset

Options:
-h --help Show this screen.
--version Show version.
```

## Installation
`go get github.com/andriykohut/moldyfridge`

## Usage
**Adding food**
```
moldyfridge add Cucumbers Tomatoes
moldyfridge add Beer --amount 3
```
**Listing food**


moldyfridge ls

+-----------+----------+--------+
| name | age | amount |
+-----------+----------+--------+
| Cucumbers | 1m | 1 |
+-----------+----------+--------+
| Tomatoes | 1m | 1 |
+-----------+----------+--------+
| Beer | just now | 3 |
+-----------+----------+--------+


**Searching food**

moldyfridge search matoe

+----------+-----+--------+
| name | age | amount |
+----------+-----+--------+
| Tomatoes | 1m | 1 |
+----------+-----+--------+

## TODO
- ~~Display output in some nice tables~~
- Remove food when amount <= 0
- Collect stats