diff options
| author | Paul Buetow <paul@buetow.org> | 2024-10-08 10:32:13 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-10-08 10:32:13 +0300 |
| commit | 2bc4585db96da4000fbf727beadfc25af64bcd4a (patch) | |
| tree | 2df64b440728e198a6752323f61447aea57f73b2 /internal/config/args.go | |
| parent | cb38f62ea7fe65732180805a1555bf969e9394ee (diff) | |
initial restructure for oauth2
Diffstat (limited to 'internal/config/args.go')
| -rw-r--r-- | internal/config/args.go | 13 |
1 files changed, 7 insertions, 6 deletions
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 { |
