mirror of
https://github.com/aclindsa/ofxgo.git
synced 2025-07-03 12:28:38 -04: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