Contents

uhooi/swift-output-uhooi

Uhooi speak the phrase.

Table of Contents

System requirements

  • Swift: 5.6+
  • Xcode: 13.3+
  • macOS: 12.0+

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.

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

```swift // swift-tools-version:5.6

import PackageDescription

let package = Package( name: "FooTools", platforms: [ .macOS(.v12), ], dependencies: [ .package(url: "https://github.com/uhooi/swift-output-uhooi", exact: "0.2.0"), ], targets: [.target(name: "FooTools", path: "")] ) ```

  1. 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.
  1. Build and run.

```shell $ 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]](https://github.com/uhooi/swift-output-uhooi)

Package Metadata

Repository: uhooi/swift-output-uhooi

Default branch: main

README: README.md