Permalink
Switch branches/tags
Nothing to show
Commits on Dec 10, 2013
  1. Made the grep example more amenable to copypasting

    By dropping whitespace sensitivity in the greps.  Fixes #4.
    Lari Rasku committed Dec 10, 2013
Commits on May 14, 2013
  1. Added warning about 0.7.0

    Lari Rasku committed May 14, 2013
Commits on May 3, 2013
  1. Added caution against using in shell functions

    Lari Rasku committed May 3, 2013
Commits on Feb 17, 2013
  1. Switched order of import tests

    io.StringIO is also available in Python 2.7, but defaults to manipulating
    unicode strings, where Python 2.7 uses byte string everywhere else.  You
    can see how this can become a problem.
    Lari Rasku committed Feb 17, 2013
Commits on Feb 6, 2013
  1. Bump version information for imminent release

    Lari Rasku committed Feb 6, 2013
  2. Let's not leave any UNKNOWNs in PKGINFO

    Lari Rasku committed Feb 6, 2013
  3. Removed useless file_get_contents function

    setup.py doesn't work anyway when called outside the package directory
    Lari Rasku committed Feb 6, 2013
  4. Just stdout is clearer than sys_stdout

    Lari Rasku committed Feb 6, 2013
  5. Looks like I forgot to actually add options_first to the client docop…

    …t call
    
    Guess this is a pretty rare use case since no one complained?
    Lari Rasku committed Feb 6, 2013
Commits on Feb 5, 2013
  1. Bump version number up to 0.6.1 to match docopt

    Lari Rasku committed Feb 5, 2013
Commits on Jan 26, 2013
  1. Now testes with python3.3, too

    Lari Rasku committed Jan 26, 2013
  2. Fixed invoking docopts with invalid or missing arguments

    Did I really never test for this since I changed the invocation syntax?
    Lari Rasku committed Jan 26, 2013
Commits on Jan 25, 2013
  1. Changed this to reflect README.rst better

    Lari Rasku committed Jan 25, 2013
  2. Prepare for 0.6.0 release

    Lari Rasku committed Jan 25, 2013
  3. Switch to the new language agnostic testing system

    Lari Rasku committed Jan 25, 2013
  4. Update the year in the license file too

    Lari Rasku committed Jan 25, 2013
  5. I think docopts is zipsafe?

    Lari Rasku committed Jan 25, 2013
Commits on Jan 9, 2013
  1. Changed -- to : in the usage pattern

    Because I think `docopts -h docstring : arguments` looks nicer and, amazingly
    enough, docopt actually supports it (now that I can use `options_first`.)
    Lari Rasku committed Jan 9, 2013
  2. Changed PATH to $PATH and deleted unnecessary space

    Lari Rasku committed Jan 9, 2013
Commits on Dec 17, 2012
  1. The table of contents didn't look so nice on GitHub.

    Lari Rasku committed Dec 17, 2012
  2. Added support for the upcoming `options_first` argument and implement…

    …ed a
    
    (perhaps unwarranted) major interface change: all arguments `docopts` accepts
    are now options, separated from the arguments to be parsed by a `--`.
    `--help=<msg>` is now how the doc string is given to `docopts`.  The optional
    version message is given similarly: `--version=<msg>`.  `docopts`'s own
    help and version messages can be read by calling it with the respective options
    but without any arguments.
    Lari Rasku committed Dec 17, 2012
Commits on Oct 29, 2012
  1. Note caveat with language_agnostic_tester.py

    Lari Rasku committed Oct 29, 2012
  2. Remove Python 2.5 as supported because I haven't actually tested this…

    … with it
    Lari Rasku committed Oct 29, 2012
  3. As I am too lazy to actually write proper unit tests for docopts, enjoy

    this hotfix to allow running it with language_agnostic_tester with
    multiple Python versions.
    Lari Rasku committed Oct 29, 2012
  4. Move modeline to the top

    Lari Rasku committed Oct 29, 2012
  5. Merge pull request #1 from BPaden/master

    Python3k
    Lari Rasku committed Oct 29, 2012
Commits on Oct 28, 2012
  1. Fix import for Python3

    BPaden committed Oct 28, 2012
  2. Add modeline for vim users.

    BPaden committed Oct 28, 2012
Commits on Oct 17, 2012
Commits on Oct 16, 2012
  1. And of course I forget to actually the relevant files.

    Lari Rasku committed Oct 16, 2012
  2. Major bugfixes and refactoring, but since we need to maintain version…

    … number
    
    compatibility with `docopt`, we get the slightly odd version number `0.5.0+fix`.
    
    * Repeatable elements should actually work now
    * `docopts` now does, indeed, give an error if two elements map to the same
      Bash variable
    * `--debug` removed since it didn't actually debug anything, just dumped the
      dictionary returned by `docopt()` as JSON
    * Instead, `language_agnostic_tester.py` and `testee.sh` are now part of the
      repository.  `testee.sh` parses the arguments with `docopts -A args - '' --`
      and attempts to output the returned associative array as JSON.  It's not
      perfect, but satisfies 135 of the 136 test cases in
      `language_agnostic_tester.py`, and is the simplest testing solution I could
      think of.
    * Name mangling no longer lowercases everything so that users can define
      both `-o` and `-O`.  Elements in the style of `UPPERCASE` are also now
      lowercased when converted to Bash variables.
    Lari Rasku committed Oct 16, 2012
Commits on Oct 13, 2012
  1. BaseException.message has been deprecated, it tells me

    Lari Rasku committed Oct 13, 2012