linkorb/extractor-cli

v1.2.0 2018-10-31 14:18 UTC

This package is auto-updated.

Last update: 2024-05-19 23:10:53 UTC


README

Command-line interface for Extractor

Installation

To install 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 or require-dev sections of your composer.json file.

Usage

extractor run path/to/my-extractor.yaml mysql://user:pass@localhost/my-db -i color=red

Use the -i (or --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.

License

MIT (see LICENSE.md)

Brought to you by the LinkORB Engineering team

687474703a2f2f7777772e6c696e6b6f72622e636f6d2f642f6d6574612f74696572312f696d616765732f6c696e6b6f7262656e67696e656572696e672d6c6f676f2e706e67
Check out our other projects at linkorb.com/engineering.

Btw, we're hiring!