linguist icon indicating copy to clipboard operation
linguist copied to clipboard

Option to read file contents from stdin

Open mschuldt opened this issue 2 years ago • 0 comments

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.

mschuldt avatar Jul 26 '22 00:07 mschuldt