Swiftpack.co - jandamm/SwiftShell as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by jandamm.
jandamm/SwiftShell 0.0.1
Collection of tools I want to use with swift-sh
⭐️ 0
🕓 2 years ago
macOS
.package(url: "https://github.com/jandamm/SwiftShell.git", from: "0.0.1")

swift-shell

Why

I really like shell scripting but some things are just easier when using Swift. This repo should be a collection of useful things I want to use in scripts. Probably don't rely on this package directly

Features

Value type abstraction for Process and Pipe

set -eou pipefail
echo 'abc' | pbcopy 2>/dev/null
try! run(command(.echo, "abc") | command(.pbcopy))

GitHub

link
Stars: 0
Last commit: 2 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics