SwiftyCLI
Meet
🏵 Introduction
SwiftyCLI is a Swifty command lint tool.
📋 Requirements
Type | Requirement | |
---|---|---|
Platform |
iOS |
N/A+ |
macOS |
10.9 |
|
tvOS |
N/A |
|
watchOS |
N/A |
|
Linux |
||
IDE |
Xcode |
9.3+ |
Language |
Swift |
4.1+ |
📲 Installation
CocoaPods
SwiftyCLI
is available on CocoaPods.
platform :osx, '10.9'
use_frameworks!
pod 'SwiftyCLI'
Rome
Add plugin 'cocoapods-rome'
to your Podfile
.
Then, before you run pod insall
, you have to install [cocoapods-rome](https://github.com/neonichu/Rome) plugin:
$ gem install cocoapods-rome
platform :osx, '10.10'
plugin 'cocoapods-rome', {
dsym: true,
configuration: 'Release'
}
target 'TargetName' do
use_frameworks!
pod 'SwiftyCLI', :path => '../'
end
Manually
Copy all files in the SwiftyCLI
directory into your project.
🛌 Dependency
N/A
❤️ Contribution
You are welcome to fork and submit pull requests.
🔖 License
SwiftyCLI
is open-sourced software, licensed under the MIT
license.
🔫 Usage
#!/usr/bin/env xcrun swift -F ./Rome/ -framework SwiftyCLI
import SwiftyCLI
// ...
Caution
|
The tree of your folder should look like this: .
├── YourScript.swift
│
├── Podfile
├── Pods
│ └── ...
└── Rome
└── SwiftyCLI.framework |
♨️ Running
To run your script file:
$ chmod a+x YourScript.swift
$ ./YourScript.swift