diff --git a/src/yamlImporter.nim b/src/yamlImporter.nim new file mode 100644 index 0000000..1c40c47 --- /dev/null +++ b/src/yamlImporter.nim @@ -0,0 +1,19 @@ +import yaml +import json +import commandeer + +commandline: + argument yamlString, string + # option testing, bool, "testing", "t" + exitoption "help", "h", + "Usage: yamlImporter [--testing|--int=|--help] " & + "..." + errormsg "You made a mistake!" + +# import values + +#if testing: +# echo("Testing enabled") + +let metadata = $yaml.loadToJson(yamlString) +echo metadata \ No newline at end of file