Skip to content

Tasty30m CLI

Latest

Choose a tag to compare

@Pedrocrlx Pedrocrlx released this 26 Feb 21:36
· 2 commits to main since this release
  • Search Recipes: Users can search for recipes based on an ingredient or recipe name by providing a query. The results are displayed in the console in a tabular format for easy reading.

  • Save Recipes: Users have the option to save the recipes in markdown files by using the --save flag. The files are saved in a folder named after the query.

  • Create Folders: If the specified folder does not exist, it is created automatically. If the folder already exists, the program throws a customized error message.

  • Console Output: Recipe results are displayed using console.table for a structured and readable output.

  • Help Command: A --help flag has been added to display usage instructions, including details about how to search for recipes and save them.

  • String Truncation: The names and descriptions of recipes are truncated to fit neatly in the console table.

  • Error Handling: Enhanced error handling ensures that users receive informative messages when something goes wrong, such as when a directory already exists.