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

Arguments

Represents a list of arguments

Record Fields

Record FieldDescription
Args
Signature: string array
Original
Signature: string option

Instance members

Instance memberDescription
x.ToLinuxShellCommandLine
Signature: string

Escape the given argument list according to a unix shell (bash)

x.ToStartInfo
Signature: string

Create a new command line string which can be used in a ProcessStartInfo object. If given, returns the exact input of OfWindowsCommandLine otherwise ToWindowsCommandLine (with some special code for mono) is used.

x.ToWindowsCommandLine
Signature: string

This is the reverse of https://msdn.microsoft.com/en-us/library/17w5ykft.aspx

Static members

Static memberDescription
Arguments.Empty
Signature: Arguments
Arguments.OfArgs(args)
Signature: args:seq<string> -> Arguments

Create a new arguments object from the given list of arguments

Arguments.OfStartInfo(cmd)
Signature: cmd:string -> Arguments

Create a new arguments object from a given startinfo-conforming-escaped command line string. Same as OfWindowsCommandLine.

Arguments.OfWindowsCommandLine(cmd)
Signature: cmd:string -> Arguments

See https://msdn.microsoft.com/en-us/library/17w5ykft.aspx