Open evakhoni opened 2 years ago
jsonfind currently uses urfave's cli package to handle the CLI bits. This issue might prompt me to move to Cobra or something similar if this isn't supported with what I'm already using.
if its not feasible feel free to reject it man... opened to let u know, now its up to you.
1) jf --help usage does not mention global options at all USAGE: jf \<valueToFind> \<jsonFile>
should be
jf [GLOBAL OPTIONS] \<valueToFind> \<jsonFile>
2) join arguments does not work jf -fr "something" Incorrect Usage. flag provided but not defined: -fr ... ... ... 2022/05/10 10:49:01 flag provided but not defined: -fr 3) the above message is duplicate 4) in help arguments mentioned as 'global options' while in error as 'flag provided' 5) bonus :) jf -f -r "something" works, but jf -r "something" -f silently ignores the misplaced -f