FlywayRunnerAliases.

FlywayInfo(ICakeContext, FlywayInfoSettings) Method

Summary

Execute 'flyway info' with options
Assembly
Cake.Flyway.dll
Namespace
Cake.Flyway
Containing Type
FlywayRunnerAliases

Syntax

public static void FlywayInfo(this ICakeContext context, FlywayInfoSettings settings = null)

Examples

Run 'flyway info'

Task("Flyway-Info)
    .Does(() =>
    {
        FlywayInfo();
    });

Run 'flyway info'

Task("Flyway-Info)
    .Does(() =>
    {
        FlywayInfo(new FlywayInfoSettings
            {
                Configuration = new FlywayConfiguration
                {
                    OutOfOrder = true
                }
            }
        );
    });

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext
settings FlywayInfoSettings

Return Value

Type Description
void