Skip to content

A simple Swift library to easily create command line tools

License

Notifications You must be signed in to change notification settings

blinker13/Terminal

Repository files navigation

Terminal

A simple Swift library to easily create command line tools

import Terminal

Tool.run(
    Block(name:"hello", description:"hello") {
        print("Hello")
    }
)
~ > ./say hello
Hello

Usage

Command

struct Hello : Command {

    let name = "hello"
    let description = "Say hello"

    func run(with arguments:Arguments) {
        print("Hello")
    }
}

Modes

TODO

Options

TODO

About

A simple Swift library to easily create command line tools

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages