Write-GitWorkingDirStatus
SYNOPSIS
Writes the working directory status text given the current Git status.
SYNTAX
Write-GitWorkingDirStatus [[-Status] <Object>] [-StringBuilder <StringBuilder>] [-NoLeadingSpace]
[<CommonParameters>]
DESCRIPTION
Writes the working directory status text given the current Git status.
EXAMPLES
EXAMPLE 1
Write-GitWorkingDirStatus (Get-GitStatus)
Writes the Git working directory status to the host.
PARAMETERS
-Status
The Git status object that provides the status information to be written. This object is retrieved via the Get-GitStatus command.
Type: System.Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-StringBuilder
If specified the working dir status is written into the provided StringBuilder object.
Type: System.Text.StringBuilder
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-NoLeadingSpace
If specified, suppresses the output of the leading space character.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.