Swiftpack.co - Package - magyarosibotond/ArgumentParser

ArgumentParser

Build Status Codacy Badge

ArgumentParser is an elegant command line argument parser library.

Features

  • [x] Register commands and options.
  • [ ] Register options with value. (--type=swift)
  • [ ] Unified help interface

Requirements

  • Swift Package Manager
  • Swift 4.1+

Installation

ArgumentParser can be used with the Swift Package Manager.

Swift Package Manager

dependencies: [
    .package(url: "https://github.com/magyarosibotond/ArgumentParser", from: "0.1.0")
]

Usage

First, all commands and options need to be registered.

TBD

Parse command line arguments. The first item in the list can be dropped since it only contains the executable path.

TBD

Github

link
Stars: 0
Help us keep the lights on

Dependencies

Used By

Total: 0

Releases

0.1.2 - Jul 31, 2018

Update initializer access modifiers for Command, Option and Parameter components.

0.1.1 - Jul 31, 2018

• Fix access modifiers all over the framework

0.1.0 - Jul 2, 2018

Provides basic functionality for:

  • Parse simple commands and options
  • Parse nested commands