Support code for developing command line utilities.
Raw mode key-press detection
A wrapper to convert an UnsafeMutablePointer<FILE>
to a TextOutputStream
TextOutputStream
s that apply a closure to transform their contents before printing.
File > Swift Packages > Add Package Dependency…:
https://github.com/erica/Swift-Cmdline-Utility
SwiftPM:
dependencies: [
.package(url: "https://github.com/erica/Swift-Cmdline-Utility", from: "0.0.1"),
],
targets: [
.target(
name: "TARGET-NAME",
dependencies: [
.product(name: "CmdlineUtility"),
],
),
],
link |
Stars: 4 |
Last commit: 2 years ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics