Swift libary for converting cli arguments into dictionary
.package(url: "http://github.com/aniket965/ArgsToDict.git", from: "1.0.0")
import Foundation
import ArgsToDict
let args = argsToDict(args: CommandLine.arguments)
let args = argsToDict(args: ["init","-type","executable"])
// args -> ["type": "executable", "_": ["init"]]
MIT © Aniket965