Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jan 24, 2015
  1. Merge pull request #14 from Ashton-W/patch-1

    Add syntax highlighting to Readme.markdown
  2. @Ashton-W

    Add syntax highlighting to Readme.markdown

    Ashton-W authored
    Added language specifiers to the Podfile extract (as ruby), code (as objc), and the plist (as xml).
Commits on Jan 3, 2015
  1. Merge pull request #13 from bjornswenson/fix

    Fix applicationNameFromBlockOrDefault typo
Commits on Dec 30, 2014
  1. @bjornswenson
Commits on Dec 1, 2014
  1. Merge pull request #11 from uranusjr/fix-not-an-option-exception

    Move GBCommandLineNotAnOptionKey branch forward
Commits on Nov 30, 2014
  1. @uranusjr

    Move GBCommandLineNotAnOptionKey branch forward

    uranusjr authored
    The GBCommandLineNotAnOptionKey branch need to happen before the
    second if-else block, which assumes "data" to be an NSDictionary
    (or nil).
Commits on Nov 27, 2014
  1. Merge pull request #10 from uranusjr/positionals

    Add support for interlacing arguments and explicit option ending
Commits on Nov 26, 2014
  1. @uranusjr
  2. @uranusjr
Commits on Nov 25, 2014
  1. @uranusjr
  2. @uranusjr

    Support interlaced positional args and options

    uranusjr authored
    This commit adds the ability to parse interlaced arguments and options.
    For example, the following:
        GBCli foo -o bar --print-settings
    will now be parsed as:
            output         = bar
    without needing to place all arguments after options.
Commits on Nov 24, 2014
  1. Merge pull request #8 from uranusjr/fix-GBParseFlagMissingValue-msg

    Fix format for GBParseFlagMissingValue error
Commits on Nov 23, 2014
  1. @uranusjr
  2. Merge pull request #7 from uranusjr/fix-print-version

    Print version instead help when it's requested
  3. @uranusjr
Commits on Oct 20, 2014
  1. Fixed homepage URL.

  2. Option groups are also reported as boolean options to settings.

    This allows testing whether certain group was enabled or not.
Commits on Jun 9, 2014
Commits on Jun 5, 2014
  1. Modernizing enums and simplifying swift usage.

    By swift usage I mean adding duplicates for value requirement into `GBOptionFlags` enum.
Commits on Jun 4, 2014
  1. Fixed description property on options class.

    As `description` is already a method on `NSObject`, we should manually synthetise it in order to make it read/write.
  2. Added missing foundation import to command line parser header.

    Without this the code would not compile when used in Swift for example.
Commits on Jun 2, 2014
  1. Added support for option groups when parsing plist files.

    This is quite simplified for the moment being; the code just checks whether a value for certain key is a dictionary and handles the keys in there as any other keys. This means it doesn't matter whether the name of the dictionary key actually corresponds to one of the names registered to `GBOptions` and/or `GBCommandLineParser`.
Commits on May 25, 2014
Commits on May 23, 2014
  1. Introducing option groups.

  2. Added helper print functions.

Commits on May 22, 2014
  1. Making sure the application doesn't crash if for whatever reason appl…

    …ication name is missing.
  2. Updated podspec to 1.1.

  3. Updated and corrected documentation.

    Also fixed way too many syntax and grammar errors; previous documentation was obviously crafted while being brain dead in one of late night sessions :)
  4. Upgraded to Xcode 5.1.

Something went wrong with that request. Please try again.