SkillAgentSearch skills...

Cathode

Cathode makes it easy to run Swift scripts.

Install / Use

/learn @neonichu/Cathode
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

cathode

No Maintenance Intended

Cathode makes it easy to run Swift scripts, by utilizing chswift to choose the right Swift version and the Swift Package Manager to install missing dependencies.

If you don't know what Swift scripts even are, check out Ayaka's talk.

Installation

$ brew tap neonichu/formulae
$ brew install cathode

Usage

Cathode is supposed to be run via a script's hash-bang directive:

#!/usr/bin/env cathode

import Chores

let result = >["xcodebuild", "-version"]
print(result.stdout)

Any frameworks that do not ship with the system will be installed into their own private directory under $HOME/.🔋, named after the script's basename.

View on GitHub
GitHub Stars15
CategoryDevelopment
Updated5y ago
Forks1

Languages

Swift

Security Score

75/100

Audited on Jun 19, 2020

No findings