mirror of
https://github.com/aclindsa/ofxgo.git
synced 2026-01-07 05:51:18 -05:00
cmd/ofx: Add -dryrun
This commit is contained in:
@@ -54,6 +54,11 @@ func downloadProfile() {
|
||||
|
||||
query.Prof = append(query.Prof, &profileRequest)
|
||||
|
||||
if dryrun {
|
||||
printRequest(client, query)
|
||||
return
|
||||
}
|
||||
|
||||
response, err := client.RequestNoParse(query)
|
||||
if err != nil {
|
||||
fmt.Println("Error requesting FI profile:", err)
|
||||
|
||||
Reference in New Issue
Block a user