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

Args

Helper functions for proper command line parsing

Functions and values

Function or valueDescription
fromWindowsCommandLine(cmd)
Signature: cmd:string -> string []

Read a windows command line string into its arguments

toLinuxShellCommandLine(args)
Signature: args:seq<string> -> string

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

toWindowsCommandLine(args)
Signature: args:seq<string> -> string

Convert the given argument list to a conforming windows command line string, escapes parameter in quotes if needed (currently always but this might change).