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.
1 parent 4937465 commit 5dfa3fbCopy full SHA for 5dfa3fb
1 file changed
README.md
@@ -74,12 +74,12 @@ let unzip (zipFile: FileInfo, outputDirMaybe: DirectoryInfo option) =
74
75
[<EntryPoint>]
76
let main argv =
77
- let zipFile = Input.Argument<FileInfo>("The file to unzip")
78
- let outputDirMaybe = Input.OptionMaybe<DirectoryInfo>(["--output"; "-o"], "The output directory")
79
-
80
rootCommand argv {
81
description "Unzips a .zip file"
82
- inputs (zipFile, outputDirMaybe)
+ inputs (
+ Input.Argument<FileInfo>("The file to unzip"),
+ Input.OptionMaybe<DirectoryInfo>(["--output"; "-o"], "The output directory")
+ )
83
setHandler unzip
84
}
85
```
0 commit comments