17 releases (5 breaking)

new 0.7.0 Apr 24, 2024
0.6.0 Apr 24, 2024
0.5.0 Apr 23, 2024
0.4.3 Apr 18, 2024
0.2.8 Jun 11, 2023

#219 in Command line utilities

Download history 34/week @ 2024-02-26 97/week @ 2024-03-04 4/week @ 2024-04-01 574/week @ 2024-04-15

578 downloads per month

MIT license

33KB
676 lines

Recp

A cli to display recipes written in recipe-lang

See recipe-lang

Installation

Nix

On Mac or Linux you can run:

nix profile install 'github:reciperium/recipe-lang#recp'

Cargo

cargo install recp

Usage

Given a hummus recipe hummus.recp:

>> name: hummus classic
>> tags: vegan, high-protein, high-fiber
>> lang: en

Add {boiled chickpeas}(400 gr) (1 can) to the blender with {garlic}(1),
{tahini}(2 tsp), {lemon}(1/2), {olive oil}(2 tsp), {salt} and {pepper}.

Blend for t{3 minutes}.

Serve or store.

We can use the recp cli to pretty display the recipe

recp show hummus.recp
Hummus Classic

Ingredients

  boiled chickpeas              400 gr
  garlic                        1
  tahini                        2 tsp
  lemon                         1/2
  olive oil                     2 tsp
  salt
  pepper


Instructions

Add boiled chickpeas (1 can) to the blender with garlic,
tahini, lemon, olive oil, salt and pepper.

Blend for 3 minutes.

Serve or store.

Dependencies

~2–11MB
~101K SLoC