Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

InfoOptions

dotnet --info 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)) -> InfoOptions

Changes the "Common" properties according to the given function

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

Sets the current environment variables.

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

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

Static members

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

Parameter default values.

InfoOptions.Default
Signature: InfoOptions
Attributes:
[<Obsolete("Use InfoOptions.Create instead")>]
OBSOLETE

Use InfoOptions.Create instead