1 unstable release

0.1.0 Jun 23, 2024

#1739 in Command line utilities

MIT license

22KB
485 lines

nosh

A CLI nutrition tracker

Usage

Foods

# Search for a food online, and add it to nosh's database.
nosh food search <term...>

# Edit a food/recipe/journal in your editor.
# If key doesn't exist, it is created.
# This can be used to manually add foods.
nosh food edit <key>

# View a food/recipe/journal in the terminal.
nosh food show <key>

Recipes

nosh recipe show <key>
nosh recipe edit <key>

Journals

# Add a serving of a food or recipe to today's journal
nosh eat <food|recipe> [serving]

# Show all food consumed on a day.
nosh journal show [day]

# Edit the journal for the given day in your editor.
nosh journal edit [day]

Dependencies

~9–23MB
~366K SLoC