Closed brettwgreen closed 8 years ago
Add a New-Connection Cmdlet. Refactor YouTrackCmdlet base class to make Connection a required param for all other Cmdlets
Usage like this:
$modulePath = "C:\Dev\YouTrackSharp\src\YouTrackSharp\bin\Debug\YouTrackSharp.dll" Import-Module $modulePath $conn = New-Connection -YouTrackHost "youtrack.jetbrains.net" -Username "MyUser" -Password "MyPassword$" -UseSSL $True -Port 443 $i = Get-issue -Connection $conn -IssueId "MyProject-567" $issue = $i.ToExpandoObject() Write-Host $issue["id"] Write-Host $issue["summary"] Write-Host $issue["description"]
Note: Reworked pull request to isolate changes into separate branches
Add a New-Connection Cmdlet. Refactor YouTrackCmdlet base class to make Connection a required param for all other Cmdlets
Usage like this:
Note: Reworked pull request to isolate changes into separate branches