Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Removed trailing 's'
  • Loading branch information
aedahl authored and HowardWolosky committed Oct 31, 2018
1 parent ceabc39 commit 4eafd54
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Install-Module -Name PowerShellForGitHub

```powershell
Import-Module .\GitHubAnalytics.psm1
$issues = Get-GitHubIssuesForRepository -repositoryUrl @('https://github.com/PowerShell/DscResources')
$issues = Get-GitHubIssueForRepository -repositoryUrl @('https://github.com/PowerShell/DscResources')
```

## Running tests
Expand Down Expand Up @@ -55,67 +55,67 @@ Contributions are welcome, please open issue on what functionality you would lik
#### Querying issues

```powershell
$issues = Get-GitHubIssuesForRepository `
$issues = Get-GitHubIssueForRepository `
-repositoryUrl @('https://github.com/PowerShell/xPSDesiredStateConfiguration')
```

```powershell
$issues = Get-GitHubWeeklyIssuesForRepository `
$issues = Get-GitHubWeeklyIssueForRepository `
-repositoryUrl @('https://github.com/powershell/xpsdesiredstateconfiguration',`
'https://github.com/powershell/xactivedirectory') -datatype closed
```

```powershell
$issues = Get-GitHubTopIssuesRepository `
$issues = Get-GitHubTopIssueRepository `
-repositoryUrl @('https://github.com/powershell/xsharepoint',`
'https://github.com/powershell/xCertificate', 'https://github.com/powershell/xwebadministration') -state open
```

#### Querying pull requests

```powershell
$pullRequests = Get-GitHubPullRequestsForRepository `
$pullRequests = Get-GitHubPullRequestForRepository `
-repositoryUrl @('https://github.com/PowerShell/xPSDesiredStateConfiguration')
```

```powershell
$pullRequests = Get-GitHubWeeklyPullRequestsForRepository `
$pullRequests = Get-GitHubWeeklyPullRequestForRepository `
-repositoryUrl @('https://github.com/powershell/xpsdesiredstateconfiguration',`
'https://github.com/powershell/xwebadministration') -datatype merged
```

```powershell
$pullRequests = Get-GitHubTopPullRequestsRepository `
$pullRequests = Get-GitHubTopPullRequestRepository `
-repositoryUrl @('https://github.com/powershell/xsharepoint', 'https://github.com/powershell/xwebadministration')`
-state closed -mergedOnOrAfter 2015-04-20
```

#### Querying collaborators

```powershell
$collaborators = Get-GitHubRepositoryCollaborators`
$collaborators = Get-GitHubRepositoryCollaborator`
-repositoryUrl @('https://github.com/PowerShell/DscResources')
```

#### Querying contributors

```powershell
$contributors = Get-GitHubRepositoryContributors`
$contributors = Get-GitHubRepositoryCollaborator`
-repositoryUrl @('https://github.com/PowerShell/DscResources', 'https://github.com/PowerShell/xWebAdministration')
```

```powershell
$contributors = Get-GitHubRepositoryContributors`
$contributors = Get-GitHubRepositoryCollaborator`
-repositoryUrl @('https://github.com/PowerShell/DscResources','https://github.com/PowerShell/xWebAdministration')
$uniqueContributors = Get-GitHubRepositoryUniqueContributors -contributors $contributors
$uniqueContributors = Get-GitHubRepositoryUniqueContributor -contributors $contributors
```

#### Quering teams / organization membership

```powershell
$organizationMembers = Get-GitHubOrganizationMembers -organizationName 'OrganizationName'
$teamMembers = Get-GitHubTeamMembers -organizationName 'OrganizationName' -teamName 'TeamName'
$organizationMembers = Get-GitHubOrganizationMember -organizationName 'OrganizationName'
$teamMembers = Get-GitHubTeamMember -organizationName 'OrganizationName' -teamName 'TeamName'
```

### GitHubLabels
Expand Down

0 comments on commit 4eafd54

Please sign in to comment.