eoc
eoc copied to clipboard
Support the `--directory` option
@maxonfjvipon
Problem
Currently, it's unclear where eoc looks for files when executing the commands phi, test, unphi, print.
Solution
- For these commands, add the
--directoryoption that accepts a path to a directory. - Make
eoclook for files only in the specified directory. - By default (when the
--directoryoption is not provided),eocmust look for files in the current directory. - The default
--directoryoption value must be documented in the CLI. eocmust report a human-readable error when it found no matching files.eocshould never recurse into a.eocdirectory unless this directory is explicitly specified via--directory .eoc.