Skip to content
blinker13Public

About

A simple Swift library to easily create command line tools

Resources

Stars

1 star

Watchers

1 watching

Forks

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

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages