SwiftArgs

3.0.4

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

What's New

3.0.4

2019-11-10T12:44:52Z
  • Updated to Linux-compatible package structure
  • Fixed crash when no arguments passed

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

Description

  • Swift Tools 5.1.0
View More Packages from this Author

Dependencies

  • None
Last updated: Tue Mar 19 2024 22:37:51 GMT-0900 (Hawaii-Aleutian Daylight Time)