Skip to content

Commit

Permalink
feat: add command line arguments for polling
Browse files Browse the repository at this point in the history
  • Loading branch information
cybersiddhu committed Dec 9, 2020
1 parent ad8f865 commit 2458e6a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions internal/cmd/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ func MigrateRepositories() cli.Command {
Usage: "owner name where the repositories will be migrated",
Required: true,
},
cli.Int64Flag{
Name: "poll-for",
Usage: "threshold for polling forked repository(in seconds)",
Value: 60,
},
cli.Int64Flag{
Name: "poll-interval",
Usage: "polling interval for forked repository(in seconds)",
Value: 2,
},
},
}
}

0 comments on commit 2458e6a

Please sign in to comment.