Bash 1.0.0

Bash 1.0.0

Maintained by Meniny.



Bash 1.0.0

Meet Bash

Bash

Author EMail MIT
Version Platforms Swift
Build Passing Cocoapods Carthage SPM

🏵 Introduction

Bash is Run shell commands from Swift scripts and command line tools..

📋 Requirements

Type Requirement

Platform

iOS

N/A+

macOS

10.12

tvOS

N/A

watchOS

N/A

Linux

N/A

IDE

Xcode

9.3+

Language

Swift

4.1+

📲 Installation

CocoaPods

Bash is available on CocoaPods.

use_frameworks!
pod 'Bash'

Manually

Copy all files in the Bash directory into your project.

🛌 Dependency

N/A

❤️ Contribution

You are welcome to fork and submit pull requests.

🔖 License

Bash is open-sourced software, licensed under the MIT license.

🔫 Usage

import Bash

do {
    print(try Bash.run("cd", args: "~/Desktop"))
    print(try Bash.run("pwd"))
    print(try Bash.run("ls", args: "-al"))
} catch {
    print(error)
}
import Bash

print(Bash.exec(commands: "cd ~/Desktop", "mkdir BashTest", "ls -al"))