Skip to content
An argument parsing library for Swift.
Swift
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Docs Update documentation Aug 30, 2018
Sources Bump version to 1.0.0 Aug 30, 2018
Tests/JanusTests Rename package to Janus May 22, 2018
.gitignore Initial commit Aug 29, 2017
Package.resolved Initial commit Aug 29, 2017
Package.swift
license.txt Initial commit Aug 29, 2017
readme.md Update readme May 28, 2019

readme.md

Janus

Janus is a simple argument-parsing library designed for building elegant command-line interfaces.

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

You can’t perform that action at this time.