pytm --report gives an error
Running on a Mac. I could execute the dfd and sequence flow diagram but when trying to generate a report I get the below error,
python3 tm.py --report /docs/baseline.md
Traceback (most recent call last):
File "/tm.py", line 127, in
Hi
The problem is that you run the command with the file /docs/baseline.md, which is a path to a file named baseline.md in a folder named docs in the root folder (/), this is a path to an unexciting file.
This is most likely not what you want to do.
What you need to do is download a template file from https://github.com/izar/pytm/tree/master/docs . For example https://github.com/izar/pytm/blob/master/docs/basic_template.md and then use the path where you have downloaded the file to.
Try docs rather than /docs ?
@ccc17as Were you able to make it work?
Or try python3 tm.py --report ./docs/baseline.md