Latest 1.0.3
Homepage https://github.com/Gruppio/Run-Forrest-Run
License MIT
Platforms osx 10.9, requires ARC
Authors

alt Echolor

CI Status
Version
License
Platform
Analytics

Run Forrest Run

Run Shell Commands in Swift

Forrest Features:

  • Execute any Shell Command in your Swift Scripts
  • Super Easy to use
  • Pipe commands easly
  • < 1000 lines of code

Example:

import Forrest

let forrest = Forrest()

// Get Current Directory
let pwd = forrest.run("pwd").stdout

// Piped Commands
let swiftFiles = forrest.run("ls -la | grep swift").stdout

Included Examples:

The First example is a program that it will list the Swift files in your launch directory.
For run this program:

git clone https://github.com/Gruppio/Run-Forrest-Run.git
cd Run-Forrest-Run/Examples/ListSwiftFiles
swift build
.build/debug/ListSwiftFiles

How to Install:

You can install Commander with SPM (Swift Package Manager)

Forrest is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "Forrest"

Author:

  • Developed by Michele Gruppioni
  • Inspired by Swiftline

License

Forrest is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "Forrest",
    "version": "1.0.3",
    "summary": "Run Shell Commands in Swift",
    "description": "- Execute any Shell Command in your Swift Scriptsn- Super Easy to usen- Pipe commands easlyn- < 1000 lines of code",
    "homepage": "https://github.com/Gruppio/Run-Forrest-Run",
    "screenshots": "https://raw.github.com/Gruppio/Run-Forrest-Run/assets/RunForrestRun_(Stupid).png",
    "license": "MIT",
    "authors": {
        "Michele Gruppioni": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Gruppio/Run-Forrest-Run.git",
        "tag": "1.0.3"
    },
    "platforms": {
        "osx": "10.9"
    },
    "requires_arc": true,
    "source_files": "Sources/*"
}

Pin It on Pinterest

Share This