This is part of the Fake.DotNet.Cli module.

VersionOptions

dotnet --version command options

Record Fields

Record FieldDescription
Common
Signature: Options

Common tool options

Instance members

Instance memberDescription
x.Environment
Signature: Map<string,string>

Gets the current environment

x.WithCommon(f)
Signature: (f:(Options -> Options)) -> VersionOptions
Modifiers: inline

Changes the "Common" properties according to the given function

x.WithEnvironment(map)
Signature: map:Map<string,string> -> VersionOptions

Sets the current environment variables.

x.WithRedirectOutput(shouldRedirect)
Signature: shouldRedirect:bool -> VersionOptions

Sets a value indicating whether the output for the given process is redirected.

Static members

Static memberDescription
VersionOptions.Create()
Signature: unit -> VersionOptions

Parameter default values.