-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into latest
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,22 @@ | ||
# search-github | ||
|
||
Use Search-GithubIssues command to seach github issue based on resource provider or keywords in issue title. | ||
|
||
1. Get the command: | ||
``` | ||
go install github.com/xiaxyi/Search-GithubIssues@latest | ||
``` | ||
|
||
2. Example Usage: | ||
|
||
Please pass your github token via environment variable, for example `set GITHUB_TOKEN=xxx` | ||
|
||
- Search the issue based on Resource provider: | ||
`Search-GithubIssues ResourceProvider --repoOwner hashicorp --repoName terraform-provider-azurerm --startDate 2022-07-01 --endDate 2022-11-01 --resourceProvider "Microsoft.Web" --toCSV c:\\users\\xiaxyi\\desktop\\issues\\rp-web.csv --append "false"`, | ||
``Search-GithubIssues ResourceProvider --repoOwner hashicorp --repoName terraform-provider-azurerm --startDate 2022-07-01 --endDate 2022-11-01 --resourceProvider "Microsoft.Web" --toCSV c:\\users\\xiaxyi\\desktop\\issues\\rp-eventhub.csv --append "false"`` | ||
|
||
- Search the issue based on Time range: | ||
`Search-GithubIssues searchOnTimeRange --repoOwner hashicorp --repoName terraform-provider-azurerm --startDate 2022-07-01 --endDate 2022-11-01 --toCSV c:\\users\\xiaxyi\\desktop\\issues\\timerange.csv --append "false"` | ||
|
||
- search the issue based on keyWords: | ||
`Search-GithubIssues keyWords --repoOwner hashicorp --repoName terraform-provider-azurerm --startDate 2022-07-01 --endDate 2022-11-01 --keyWords "app service" "Microsoft.Web" --toCSV c:\\users\\xiaxyi\\desktop\\issues\\timerange.csv --append "false"` |