I honestly dont understand why the file path passed to cli as
$ node-dbf convert file.dbf
get joined to node-dbf folder inside node_modules.
I ended up replacing this line:
|
.action(function(f) { file = path.join(__dirname, '../', f); }) |
with:
.action(function(f) { file = f; })
this solved the issue and allowed me to convert to csv, but feels like I'm missing something.