Command-line interface for Extractor
extractor-cli on your system, run:
composer global require linkorb/extractor-cli
You can now run
extractor from any directory.
If you only need extractor in a specific project, add
linkorb/extractor-cli to the
require-dev sections of your
extractor run path/to/my-extractor.yaml mysql://user:pass@localhost/my-db -i color=red
--input) flag to pass inputs into the extractor. You pass this flag multiple times if your extractor file requires multiple inputs.
Instead of passing the database connection string on the command-line, you can also ommit it, and define a
PDO environment variable instead.
For more information about Extractor, please refer to the library's README.md.
MIT (see LICENSE.md)
Check out our other projects at linkorb.com/engineering.
Btw, we're hiring!