add --max-size & --refresh

Signed-off-by: Hadi <[email protected]>
This commit is contained in:
Hadi
2025-05-21 10:33:00 +02:00
parent b4392f972d
commit 05b449afcd
3 changed files with 61 additions and 12 deletions
+13 -10
View File
@@ -8,11 +8,12 @@ import (
)
type Recon struct {
client *github.Client
logger *log.Logger
ctx context.Context
silent bool
jsonFile string
client *github.Client
logger *log.Logger
ctx context.Context
silent bool
jsonFile string
maxRepoSize int
}
func NewRecon(
@@ -21,12 +22,14 @@ func NewRecon(
ctx context.Context,
silent bool,
jsonFile string,
maxRepoSize int,
) *Recon {
return &Recon{
client: client,
logger: logger,
ctx: ctx,
silent: silent,
jsonFile: jsonFile,
client: client,
logger: logger,
ctx: ctx,
silent: silent,
jsonFile: jsonFile,
maxRepoSize: maxRepoSize,
}
}