InformationCommandBuilder Class

Summary

Builder for InformationCommand.
graph BT Type-->Base0["BaseOutputBuilder<InformationCommandBuilder, IInformationOutput>"] Base0-->Base1["object"] Type["InformationCommandBuilder"] class Type type-node

Syntax

public sealed class InformationCommandBuilder : 
    BaseOutputBuilder<InformationCommandBuilder, IInformationOutput>

Examples

Task("GetInfos")
    .Does(() =>
{
    SevenZip(m => m
        .InInformationMode()
        .WithCommandOutput(o =>
        {
            Information("7Zip version is:" + o.Information);
            Information("7Zip supports QCOW:" + (o.Formats.Any(x => x.IndexOf("QCOW") > -1)));
        }));
});

Properties

Name Value Summary
OutputCommand BaseOutputCommand<IInformationOutput>
Gets the output command.

See Also

GitHub Discussion