ProgressSpinnerKit

0.4.0

A library to display an ActivityIndicator for CLI.
yutailang0119/ProgressSpinnerKit

What's New

0.4.0

2021-03-14T10:59:50Z

swift-tools-version:5.3

Internal update

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

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-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

Usege

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.

Description

  • Swift Tools 5.3.0
View More Packages from this Author

Dependencies

Last updated: Mon Oct 28 2024 08:57:58 GMT-0900 (Hawaii-Aleutian Daylight Time)