linguist
linguist copied to clipboard
Option to read file contents from stdin
Description
When the --stdin
option is set, ARGV is cleared and a new Blob is created using the file contents from ARGF.read.
This is useful when calling Linguist from another program when the file contents do not exist on disk.
Checklist:
- [x] I am adding new or changing current functionality
- [ ] I have added or updated the tests for the new or changed functionality.