[This is preliminary documentation and is subject to change.]

Returns value of a given command-line argument (if present). Use HasArg to check flag arguments.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.1 (0.6.3.1)

Syntax

   
 C# 
[CanBeNullAttribute]
public static string GetArg(
	ArgKey key
)

Parameters

key
ArgKey
Command-line argument name (enumerated)

Return Value

Value of the command-line argument, or null if this argument was not set or argument is a flag.

See Also