Popularity
0.2
Stable
Activity
0.0
Declining
4
0
0

Code Quality Rank: L4
Programming language: Swift
License: MIT License
Latest version: v3.0.4

SwiftArgs alternatives and similar libraries

Based on the "Command Line" category.
Alternatively, view SwiftArgs alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of SwiftArgs or a related project?

Add another 'Command Line' Library

README

SwiftArgs

A minimal, pure Swift library for making command-line tools / interfaces.

Travis build status codebeat SPM Swift version

SwiftArgs uses a very basic and limited parser for parsing commands, but it should suffice for basic usage requirements. You can use SwiftArgs when making a command-line interface in Swift and let it do the parsing work for you.

Contributions welcome.


Install

Using Swift Package Manager:

dependencies: [
  .Package(url: "https://github.com/frazer-rbsn/SwiftArgs", majorVersion: 1.1),
]

Limitations

  • Hasn't been tested on Linux.
  • Currently no support for subcommands
  • Doesn't support short-form option switches yet, e.g. mycommand -o