summaryrefslogtreecommitdiff
path: root/internal/config/args.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-10-08 10:32:13 +0300
committerPaul Buetow <paul@buetow.org>2024-10-08 10:32:13 +0300
commit2bc4585db96da4000fbf727beadfc25af64bcd4a (patch)
tree2df64b440728e198a6752323f61447aea57f73b2 /internal/config/args.go
parentcb38f62ea7fe65732180805a1555bf969e9394ee (diff)
initial restructure for oauth2
Diffstat (limited to 'internal/config/args.go')
-rw-r--r--internal/config/args.go13
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 {