Skip to content

evanlucas/argsplit-swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Argsplit

Build Status

Swift port of https://github.com/evanlucas/argsplit

Convert a string of arguments into an array

Example

import Argsplit

let input = "git clone https://github.com/evanlucas/node-launchctl.git"
let out = Argsplit(inputString: input).parse()
// => ["git", "clone", "https://github.com/evanlucas/node-launchctl.git"]

Author

Evan Lucas

License

MIT (See LICENSE for more INFO)