Skip to content

RohitRajendran/cookcli-scripts

Repository files navigation

CookCLI Scripts README

CookCLI commands built into VSCode to make it easier to work with Cooklang recipe files.

To learn more about Cooklang or CookCLI: https://cooklang.org/

example

Features

Commands can be found in the command palette and under the tile of cookcli: and will be run against the recipe file that you currently have open.

  1. Open up the recipie file that you want to run the command for.
  2. Open Command Palette with cmd + shift + P or ctrl + shift + P
  3. Search for cookcli: to see all the commands available.
  4. Select a command. A terminal window will open up where you can see the results of the command.

Read Recipe

Parses and prints the recipe file

Screen.Recording.2022-07-12.at.2.01.34.PM.mov

Validate Recipe

Checks for syntax errors in the recipe file

Prettify Recipe

Edits the recipe file for style consistency

Get Image for Recipe

Downloads a random image from unsplash.com to match the recipe title

Requirements

Requires CookCLI to be installed.