Skip to content

Commit

Permalink
chore: change default threshold in fetch githubrepos (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaineK00n authored Aug 12, 2021
1 parent 36b7f56 commit 3893f58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/fetch-githubrepos.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ var fetchGitHubReposCmd = &cobra.Command{
func init() {
fetchCmd.AddCommand(fetchGitHubReposCmd)

fetchGitHubReposCmd.PersistentFlags().Int("threshold-stars", 5, "Threshold of Stars in PoC repository to be inserted into DB")
fetchGitHubReposCmd.PersistentFlags().Int("threshold-stars", 3, "Threshold of Stars in PoC repository to be inserted into DB")
_ = viper.BindPFlag("threshold-stars", fetchGitHubReposCmd.PersistentFlags().Lookup("threshold-stars"))

fetchGitHubReposCmd.PersistentFlags().Int("threshold-forks", 5, "Threshold of Forks in PoC repository to be inserted into DB")
fetchGitHubReposCmd.PersistentFlags().Int("threshold-forks", 0, "Threshold of Forks in PoC repository to be inserted into DB")
_ = viper.BindPFlag("threshold-forks", fetchGitHubReposCmd.PersistentFlags().Lookup("threshold-forks"))
}

Expand Down

0 comments on commit 3893f58

Please sign in to comment.