cooklang / cooklang-import

A command line tool to import recipes into Cooklang format
MIT License
32 stars 12 forks source link

Unify function for output methods #18

Closed skoenig closed 2 years ago

skoenig commented 2 years ago

In order to avoid redundancies in the implementation and to be able to add further metadata fields more easily later on, outputting function was unified, so it uses exact same output for console and for files. By default, the function will print to stdout.

dubadub commented 2 years ago

@nicholaswilde Looks great!