This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If you do `flag.allowStdin: true` then oclif will read from stdin for you if the value is `-`, so there's no way to know if the flag value came from stdin or the user specified a file path (here we need to read the file). I don't like having another specific flag just to read from stdin so I made this a string flag and handle reading from stdin/file in `flag.parse`.
- Loading branch information