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
- Host: GitHub
- URL: https://github.com/andriykohut/moldyfridge
- Owner: andriykohut
- License: mit
- Created: 2014-09-03T09:31:33.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-24T14:37:46.000Z (over 10 years ago)
- Last Synced: 2024-12-27T14:41:06.723Z (5 months ago)
- Language: Go
- Size: 188 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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