Bad relative path handling between command line client and daemon
If the command line client is provided a manifest file by relative path e.g. ./doc/manifest
, the path is provided as is to the daemon, which is probably not in the current working directory. This can trigger File not found
errors on the daemon side.
2 possible solutions:
- resolve the absolute path in the cli tool, and check that the file exists, before giving it to the daemon
- read the manifest in the cli tool, and provide the manifest info to the daemon as a command argument.
The second solution is probably cleaner for the long term.