We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a217eeb + f1438f5 commit 30dc437Copy full SHA for 30dc437
1 file changed
README.md
@@ -401,7 +401,7 @@ let main argv =
401
rootCommand argv {
402
description "Data Export"
403
inputs (connStr, outputDir, startDate, endDate)
404
- setAction (export logger)
+ setAction (fun () -> export logger)
405
}
406
|> Async.AwaitTask
407
|> Async.RunSynchronously
@@ -602,8 +602,8 @@ let main argv =
602
description "Database Migrations"
603
inputs Input.context // Required input for helpAction
604
helpAction // Show --help if no sub-command is called
605
- addCommand (repairCmd logger)
606
- addCommand (migrateCmd logger)
+ addCommand (fun () -> repairCmd logger)
+ addCommand (fun () -> migrateCmd logger)
607
608
```
609
0 commit comments