Skip to content
An argument parsing library for Swift.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
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
license.txt Initial commit Aug 29, 2017 Update readme May 28, 2019


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


  • 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.


You can’t perform that action at this time.