Name: recipe
Owner: gophergala2016
Description: Command-line interface for downloading and querying recipes.
Created: 2016-01-22 19:23:41.0
Updated: 2017-12-05 16:29:40.0
Pushed: 2016-01-24 20:20:49.0
Size: 60
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Recipe is a tool for downloading and querying recipes.
Recipe provides:
Use go get to install the latest version.
et github.com/gophergala2016/recipe/recipe
The recipe refresh
command will index all “repositories”. It will take very long on the first run.
Before you can use the search and get command you need to run this command.
pe refresh
The recipe search <term>
command will search the locally cached index for recipes which contain the search term.
pe search <term>
The recipe get <term>
command will download all recipes which are indexed and match the term.
pe get <term>
Use the recipe -h
command to see additional information.
The idea behind recipe is to have a tool similar to software package managers but for recipes.
Highly unstable, unoptimized and hacked together. Featuring inconsistent naming conventions and letting errors fall through. I added the bleve indexing for the recipe links last minute which also included saving each recipe link in its own file. That resulted in very slow indexing, probably due not using batches, no concurrent downloading and improper index mapping.