GrypeAliases.

GrypeVersion(ICakeContext) Method

Summary

Gets Grype's version information.
Assembly
Cake.Grype.dll
Namespace
Cake.Grype
Containing Type
GrypeAliases

Syntax

public static GrypeVersion GrypeVersion(this ICakeContext context)

Examples

var version = GrypeVersion();
Information("Grype {0} (DB schema {1})", version.Version, version.SupportedDbSchema);

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The context.

Return Value

Type Description
GrypeVersion The version information.