loichyan/nerdfix

Autofix yes flag does not seem to be working

mohkale opened this issue · 1 comments

Hi,

I'm using

$ nerdfix --version
nerdfix 0.2.3
cheat-sheet: 634e151

To autofix a file containing icons at /tmp/all2 by running nerdfix fix -y /tmp/all2 but it seems to prompt me interactively no matter what I try.

Should be fixed in #4. The --yes argument is used to confirm whether to write patched content, which is a bit confusing. So I replaced it with --write and added --select-first, combining the two should skip all possible prompts.