RainwayApp / node-clangffi

Generate Typescript FFI bindings for C/C++ libraries using libclang and ffi-napi.
MIT License
7 stars 1 forks source link

flag --no-prettier not working #18

Closed bengreenier closed 2 years ago

bengreenier commented 2 years ago

when giving --no-prettier, prettier is still used.

Using set DEBUG=clangffi to log cli arguments object, it's clear that noPrettier value is still false.

bengreenier commented 2 years ago

workaround --no-prettier=true does the correct thing.

Most probably a fix for this is to use a different yarg function than boolean() for these flag options.