psyinfra / onyo

text-based inventory system on top of git
ISC License
3 stars 5 forks source link

BUG: `onyo get` errors with unclear message if inventory contains a readme.md #582

Open TobiasKadelka opened 4 months ago

TobiasKadelka commented 4 months ago
❱ onyo get
ERROR: while scanning an alias
  in "/Users/tkadelka/yet-another-test/README.md", line 8, column 1
expected alphabetic or numeric character, but found ' '
  in "/Users/tkadelka/yet-another-test/README.md", line 8, column 2

This error pops up when calling onyo get in an inventory that contains none-inventory files. They must be added to the .onyoignore to not error --- which is not clear by the error message.

This might be considered together with later onyo fsck efforts.