Convert SHACL model to code bindings
When I run shacl2code within another directory, it fails as it seems to be looking for files that don't exist. ``` $ shacl2code generate -i https://spdx.github.io/spdx-spec/v3.0.1/rdf/spdx-model.jsonld golang -o model.go Traceback (most recent call last): File "/home/nisha/spdx3go/bin/shacl2code", line 8, in <module> sys.exit(main()) ^^^^^^ File "/home/nisha/spdx3go/lib/python3.12/site-packages/shacl2code/main.py", line 145, in main return parsed_args.func(parser, parsed_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/nisha/spdx3go/lib/python3.12/site-packages/shacl2code/main.py", line 54, in handle_generate render.output(m) File "/home/nisha/spdx3go/lib/python3.12/site-packages/shacl2code/lang/common.py", line 137, in output with output.open("w") as f: ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/pathlib.py", line 1015, in open return io.open(self, mode, buffering, encoding, errors, newline) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'model.go/classes.go' ``` Commit info: ``` commit 2f096e6ca45956512dd73d015b8ef46d9ffd104b (HEAD -> main, tag: v0.0.19, origin/main, origin/HEAD) Author: Joshua Watt <[email protected]> Date: Thu Jan 16 09:13:00 2025 -0700 tests: Fix make_expect formatting ```
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by nishakm and has received 2 comments.