runem / web-component-analyzer

CLI that analyzes web components and emits documentation
https://runem.github.io/web-component-analyzer
MIT License
503 stars 63 forks source link

Wrong output with `--outFiles {dir}/{filename}` #274

Open timonson opened 1 year ago

timonson commented 1 year ago

Hello,

there is a bug with --outFiles {dir}/{filename} on my Ubuntu machine.

I have this file tree: components/navbar/universal.js. Inside the parent directory of components I run : npx web-component-analyzer --dry "./components/**/*.js" --outDir comp --outFiles {dir}/{filename} and the output is ./comp/universal.md instead of ./comp/navbar/universal.md. When removing the --dry the written output is wrong accordingly.

I hope you can fix this. Is there a workaround in the meantime?

Thank you!