TfxAliases.

TfxExtensionPublish(ICakeContext, TfxExtensionPublishSettings) Method

Summary

Publishes an extension using the Tfx CLI using the specified settings.
Assembly
Cake.Tfx.dll
Namespace
Cake.Tfx
Containing Type
TfxAliases

Syntax

public static void TfxExtensionPublish(this ICakeContext context, TfxExtensionPublishSettings settings)

Examples

TfxExtensionPublish(new TfxExtensionPublishSettings()
{
    ManifestGlobs = new List<string>(){ ".\extension-manifest.json" },
    AuthType = TfxAuthType.Pat,
    Token = "abcdef"
});

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
settings TfxExtensionPublishSettings The settings.

Return Value

Type Description
void