An argument parsing library for Swift.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Docs
Sources
Tests/JanusTests
.gitignore
Package.resolved
Package.swift
license.txt
readme.md

readme.md

Janus for Swift

A Swift library for parsing command line arguments.

Features

  • Long-form boolean flags with single-character shortcuts: --flag, -f.

  • Long-form string, integer, and floating-point options with single-character shortcuts: --option <arg>, -o <arg>.

  • Condensed short-form options: -abc <arg> <arg>.

  • Automatic --help and --version flags.

  • Support for multivalued options.

  • Support for git-style command interfaces with arbitrarily-nested commands.

Links