Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into latest
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaxyi committed Nov 30, 2022
2 parents a5c57b0 + b4f9942 commit ccecb05
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
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"`

0 comments on commit ccecb05

Please sign in to comment.