From 2bc4585db96da4000fbf727beadfc25af64bcd4a Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 8 Oct 2024 10:32:13 +0300 Subject: initial restructure for oauth2 --- internal/config/args.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'internal/config/args.go') diff --git a/internal/config/args.go b/internal/config/args.go index b380dcd..601a2d1 100644 --- a/internal/config/args.go +++ b/internal/config/args.go @@ -10,12 +10,13 @@ import ( var validPlatforms = []string{"mastodon", "linkedin"} type Args struct { - GosDir string - DryRun bool - Platforms []string - Target int - Lookback time.Duration - Secrets Secrets + GosDir string + DryRun bool + Platforms []string + Target int + Lookback time.Duration + SecretsConfigPath string + Secrets Secrets } func (a Args) Validate() error { -- cgit v1.2.3