1
0
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:
2020-12-07 13:37:43 -05:00
parent 4c7c48cab7
commit 56ca46714b
3 changed files with 18 additions and 0 deletions

View File

@ -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)