Merge pull request #19 from uhooi/feature/bump_swift_argument_parser_to_1.1.3 Bump Swift Argument Parser from 1.0.1 to 1.1.3
Merge pull request #19 from uhooi/feature/bump_swift_argument_parser_to_1.1.3
Bump Swift Argument Parser from 1.0.1 to 1.1.3
Uhooi speak the phrase.
$ mint install uhooi/swift-output-uhooi $ mint run uhooi/swift-output-uhooi uhooi -h
Create a folder for the CLI tools.Example: FooTools folder.
FooTools
In this folder, create a file called Package.swift , with the following contents:
Package.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: "")] )
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.
Empty.swift
Build and run.
$ swift build -c release --package-path FooTools --product uhooi $ FooTools/.build/release/uhooi -h
$ 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
$ git clone https://github.com/uhooi/swift-output-uhooi.git $ cd swift-output-uhooi $ swift build -c release $ .build/release/uhooi -h
$ 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.
I would be happy if you contribute :)
swift-output-uhooi
Uhooi speak the phrase.
Table of Contents
System requirements
Installation
Mint
Swift Package Manager
Create a folder for the CLI tools.
Example:
FooTools
folder.In this folder, create a file called
Package.swift
, with the following contents:If you are running Xcode 11.4 or later, in the
FooTools
folder create a file calledEmpty.swift
with nothing in it. This is to satisfy a change in Swift Package Manager.Build and run.
Use the binary
Clone and Build/run
How to use
Contribution
I would be happy if you contribute :)
Stats