OutputUhooi

0.2.0

Uhooi speak the phrase.
uhooi/swift-output-uhooi

What's New

0.2.0

2022-07-02T12:31:12Z
  • Drop support for Swift 5.4

swift-output-uhooi

CI Release Swift Compatibility Platform Compatibility License Twitter

Uhooi speak the phrase.

Table of Contents

System requirements

  • Swift: 5.0+
  • Xcode: 13.0+
  • macOS: 11.3+

Installation

Mint

$ mint install uhooi/swift-output-uhooi

$ mint run uhooi/swift-output-uhooi uhooi -h

Swift Package Manager

  1. Create a folder for the CLI tools.
    Example: FooTools folder.

  2. In this folder, create a file called Package.swift , with the following contents:

    // swift-tools-version:5.5
    
    import PackageDescription
    
    let package = Package(
        name: "FooTools",
        platforms: [
            .macOS(.v11),
        ],
        dependencies: [
            .package(url: "https://github.com/uhooi/swift-output-uhooi", exact: "0.2.0"),
        ],
        targets: [.target(name: "FooTools", path: "")]
    )
  3. If you are running Xcode 11.4 or later, in the FooTools folder create a file called Empty.swift with nothing in it. This is to satisfy a change in Swift Package Manager.

  4. Build and run.

    $ swift build -c release --package-path FooTools --product uhooi
    
    $ FooTools/.build/release/uhooi -h

Use the binary

$ curl -OL https://github.com/uhooi/swift-output-uhooi/releases/download/0.2.0/uhooi.zip
$ unzip -o uhooi.zip
$ rm -f uhooi.zip

$ ./uhooi -h

Clone and Build/run

$ git clone https://github.com/uhooi/swift-output-uhooi.git
$ cd swift-output-uhooi
$ swift build -c release

$ .build/release/uhooi -h

How to use

$ uhooi uhooooi
┌|▼▼|┘<uhooooi

$ uhooi "I'm uhooi."
┌|▼▼|┘<I'm uhooi.

$ uhooi --count 2 "I'm uhooi."
┌|▼▼|┘<I'm uhooi.
┌|▼▼|┘<I'm uhooi.

$ uhooi --include-counter --count 2 "I'm uhooi."
1: ┌|▼▼|┘<I'm uhooi.
2: ┌|▼▼|┘<I'm uhooi.

Contribution

I would be happy if you contribute :)

Stats

Stats

Description

  • Swift Tools 5.5.0
View More Packages from this Author

Dependencies

Last updated: Mon Nov 11 2024 01:25:23 GMT-1000 (Hawaii-Aleutian Standard Time)