ArgumentParser version: 1.1.2.
Swift version:
swift-driver version: 1.45.2 Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12)
Target: arm64-apple-macosx12.0
Checklist
Steps to Reproduce
a simple argument parser that could take an array of input
@main
struct Main: ParsableCommand {
@Argument
var path: [String]
func run() throws {}
}
compile this and run it with pipeline echo **/*.jpg | .build/arm64-apple-macosx/debug/main
it seems that the stdout is not pass as stdin
Expected behavior
the stdout from lhs is passed to rhs
Actual behavior
Describe or copy/paste the behavior you observe.
ArgumentParser version:
1.1.2.Swift version:
Checklist
mainbranch of this packageSteps to Reproduce
a simple argument parser that could take an array of input
compile this and run it with pipeline
echo **/*.jpg | .build/arm64-apple-macosx/debug/mainit seems that the stdout is not pass as stdin
Expected behavior
the stdout from lhs is passed to rhs
Actual behavior
Describe or copy/paste the behavior you observe.