mirror of
https://github.com/aclindsa/ofxgo.git
synced 2025-07-03 12:28:38 -04:00
Add missing handling for -dryrun
flag in command-line client
This flag was only handled for the `download-profile` command. Add the same handling for all other commands (except `detect-settings`).
This commit is contained in:
@ -45,6 +45,11 @@ func invTransactions() {
|
||||
}
|
||||
query.InvStmt = append(query.InvStmt, &statementRequest)
|
||||
|
||||
if dryrun {
|
||||
printRequest(client, query)
|
||||
return
|
||||
}
|
||||
|
||||
response, err := client.Request(query)
|
||||
if err != nil {
|
||||
os.Exit(1)
|
||||
|
Reference in New Issue
Block a user