Swiftpack.co - vknabel/ArrowKit as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by vknabel.
vknabel/ArrowKit 0.2.4
helper framework to write arrows for Archery in Swift.
⭐️ 0
🕓 14 weeks ago
.package(url: "https://github.com/vknabel/ArrowKit.git", from: "0.2.4")

ArrowKit

A helper framework to write arrows for Archery in Swift.

import ArrowKit

struct YourArrow: Arrow {
    let name: String

    func fire(archerfile arrowFile: ArrowKit.Archerfile, arguments: [String]) throws {
        print("Hello \(name)!")
        if !arguments.isEmpty {
            print("Your arguments are:")
            for arg in arguments {
                print(" \(arg)")
            }
        }
    }
}

YourArrow.fire()

Installation

Using the Swift Package Manager

.package(url: "https://github.com/vknabel/ArrowKit.git", from: "0.2.3"),

Contributors

License

Archery is available under the MIT license.

GitHub

link
Stars: 0
Last commit: 6 days ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

0.2.4
14 weeks ago

What's Changed

New Contributors

Full Changelog: https://github.com/vknabel/ArrowKit/compare/0.2.3...0.2.4

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