https://github.com/linkorb/extractor-cli
Extractor CLI
https://github.com/linkorb/extractor-cli
Last synced: 5 months ago
JSON representation
Extractor CLI
- Host: GitHub
- URL: https://github.com/linkorb/extractor-cli
- Owner: linkorb
- License: mit
- Created: 2018-10-30T14:38:59.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-19T21:23:54.000Z (almost 3 years ago)
- Last Synced: 2025-07-27T14:50:50.939Z (11 months ago)
- Language: PHP
- Size: 13.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Extractor CLI
=========
Command-line interface for [Extractor](github.com/linkorb/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](github.com/linkorb/extractor).
## License
MIT (see [LICENSE.md](LICENSE.md))
## Brought to you by the LinkORB Engineering team

Check out our other projects at [linkorb.com/engineering](http://www.linkorb.com/engineering).
Btw, we're hiring!