Swiftpack.co - Package - yutailang0119/ProgressSpinnerKit

Swift 4.1 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:4.0
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

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

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

Usege

import Basic
import ProgressSpinnerKit

let spinner = createProgressSpinner(forStream: Basic.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: 28
Help us keep the lights on

Used By

Total:

Releases

0.1.0 - Sep 2, 2018

First Release 🎉