Swiftpack.co - yutailang0119/ProgressSpinnerKit as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by yutailang0119.
yutailang0119/ProgressSpinnerKit 0.4.0
A library to display an ActivityIndicator for CLI.
⭐️ 37
🕓 1 year ago
.package(url: "https://github.com/yutailang0119/ProgressSpinnerKit.git", from: "0.4.0")

Swift 5.3 Swift Package Manager Lincense

A library to display an ActivityIndicator for CLI.
Motivated by

A Work In Progress

ProgressSpinnerKit is still in active development.

Dome

Installation

Swift Package Manager

// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
    name: "DemoPackage",
    dependencies: [
        .package(url: "https://github.com/yutailang0119/ProgressSpinnerKit", from: "0.4.0"),
    ],
    targets: [
        .target(name: "DemoTarget", dependencies: ["ProgressSpinnerKit"]),
    ]
)

https://github.com/apple/swift-package-manager

Usage

import TSCBasic
import ProgressSpinnerKit

let spinner = createProgressSpinner(forStream: TSCBasic.stdoutStream, header: " Loading:")
spinner.start()
// Something on the main thread.
spinner.stop()

Author

Yutaro Muta

License

ProgressSpinnerKit is available under the MIT license. See the LICENSE file for more info.
This software includes the work that is distributed in the Apache License 2.0.

GitHub

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

Release Notes

0.4.0
1 year ago

swift-tools-version:5.3

Internal update

  • Replace swift-package-manager/SPMUtility with swift-tools-support-core/SwiftToolsSupport

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