we can consider adding new flag type in goflags for ratelimit which accepts ratelimit along with unit
type RateLimit struct{
MaxTokens unit
Duration time.Duration
}
rls := []RateLimit{}
flag.RateLimitVar(&rls, "-rls",nil,"rate limit along with unit ex: 10/ms , 30/m, 8/s ")
Proposed changes
we can consider adding new flag type in goflags for ratelimit which accepts ratelimit along with unit
ref: https://github.com/projectdiscovery/subfinder/pull/891#pullrequestreview-1525004982