Output Type Parameter
Published 15 January 2025
Description
Change the console output formatting.
Value | Purpose |
---|---|
json |
Output JSON to the console instead of human-readable output. Errors are included in the JSON payload instead of being sent to stderr |
Type
String
Default
Human readable console output
Usage
Command-line
./flyway info -outputType=json
Environment Variable
Not available
API
Not available
Gradle
Not available
Maven
Not available
Use Cases
You will be doing further processing on the flyway output and it is easier to parse structured JSON output that regular console output.