AutobahnSwift / Autobahn

CLI tool written in Swift heavily inspired by https://github.com/fastlane/fastlane
MIT License
129 stars 6 forks source link

Changed highways to be typesafe #1

Closed BenchR267 closed 6 years ago

BenchR267 commented 6 years ago

This is a proposal and is source breaking! I really like the idea of having a fastlane clone written in Swift. And since we are in Swift, we should also use it's strengths by writing swifty code. I changed the DSL to rely on an instance instead of public functions, like the Swift Package Manager does.

I also changed the definition of highways from Strings to an enum, that means they are typesafe and can easily be extended. The first step was to add a usage property which could be used to print the usage of a highway when executing something like autobahn build help.

Awesome idea! Would love to contribute even more, I have a lot of ideas :)

BenchR267 commented 6 years ago

@kdawgwilk you are not watching the repo, so you might missed my three pull requests. Just wanted to inform you so they are not forgotten, would love to get some feedback :)