## p4add-client ## aaron bockelie Function p4add-client {param($Owner,$Access,$LineEnd,$SubmitOptions,$Hostname,[Parameter(Mandatory = $true)]$Root,$Description,$Options,$Update,[Parameter(Mandatory = $true)]$Clientname,$View) $servercheck = p4get-server if ($servercheck.pingsuccess.equals($true)) { $result = p4add-clientspec -Owner $Owner -Access $Access -LineEnd $LineEnd -SubmitOptions $SubmitOptions -Hostname $Hostname -Root $Root -Description $Description -Options $Options -Update $Update -Clientname $Clientname -View $View | p4 client -i if ($result -match "saved") { p4get-client $Clientname } else { write-error $result } } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 8410 | Aaron Bockelie |
Root checkin, Perforce Powershell wrapper. Still lots of work to be done, namely documentation and deployment tools, for instance, get-help needs work on the majority of these tools. Additionally, the /lib structure needs a little bit of condensation, probably into major groups (depot, userspec, clientspec, group management, and so on) that way function family can exist under each resource. |