moldyfridge

command module
v0.0.0-...-35deee7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2014 License: MIT Imports: 8 Imported by: 0

README

moldyfridge

Eat your food before it gets moldy

simple fridge tracker in golang

moldyfridge -h
moldyfridge.

Usage:
  moldyfridge (add | rm) <food>...
  moldyfridge (add | rm) <food> [--amount <amount>]
  moldyfridge ls
  moldyfridge search <food>
  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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package fridgedb provides toplevel operations on database
Package fridgedb provides toplevel operations on database
Package models provides provides models for database acces
Package models provides provides models for database acces

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL