Skip to content
Commits on May 29, 2009
  1. Add support for variable args, and revise subcommand support.

    committed with Pauli Virtanen May 29, 2009
Commits on May 28, 2009
  1. Added BSD license

    Simon Willison committed May 29, 2009
  2. Merge commit 'rybesh/master'

    Simon Willison committed May 29, 2009
  3. @rybesh
  4. TODO: Subcommands need to interact with --help better

    Simon Willison committed May 28, 2009
  5. Added support for subcommands - just pass a list of functions to optf…

    …unc.run e.g. optfunc.run([one, two, three])
    Simon Willison committed May 28, 2009
  6. @rybesh

    Get custom names working.

    rybesh committed May 28, 2009
  7. @rybesh
  8. @rybesh
  9. @rybesh
  10. Added TODO based on neat idea from @nasrat - pass multiple functions …

    …to the run() command and have the first command line argument select which function gets executed.
    Simon Willison committed May 28, 2009
  11. Added documentation of how arguments are treated, and how option name…

    …s are derived from function parameter names
    Simon Willison committed May 28, 2009
  12. Impoved command line output example in readme

    Simon Willison committed May 28, 2009
  13. Added shebang line to demo scripts

    Simon Willison committed May 28, 2009
  14. Added documentation of @arghelp and @notstrict to the readme

    Simon Willison committed May 28, 2009
  15. TODO: support for *args, but probably not **kwargs

    Simon Willison committed May 28, 2009
  16. Fixed a typo in a comment

    Simon Willison committed May 28, 2009
  17. Removed a TODO (argument help text is done)

    Simon Willison committed May 28, 2009
  18. Added a demo command line script based on http://github.com/simonw/ge…

    …ocoders which demonstrates the new @notstrict and @arghelp decorators
    Simon Willison committed May 28, 2009
  19. Added @arghelp and @notstrict decorators, plus tests

    Simon Willison committed May 28, 2009
  20. TODO: allow function to be a generator

    Simon Willison committed May 28, 2009
  21. Renamed example.py to demo.py

    Simon Willison committed May 28, 2009
  22. Fixed a bug in the readme and added some TODOs

    Simon Willison committed May 28, 2009
  23. Split a test in to two

    Simon Willison committed May 28, 2009
  24. Smarter code for deriving the -short and --long option names for a na…

    …med function parameter
    Simon Willison committed May 28, 2009
  25. Fixed tests after last commit

    Simon Willison committed May 28, 2009
  26. Realised we don't actually need the arg=Var(...) bit as we can intros…

    …pect ALL of the information we need from the names and values of the default arguments
    Simon Willison committed May 28, 2009
  27. Updated readme to reflect current state of the project

    Simon Willison committed May 28, 2009
  28. Example now does something useful

    Simon Willison committed May 28, 2009
  29. Test that optfunc.run passes the correct arguments

    Simon Willison committed May 28, 2009
  30. Part way through the implementation, including unit tests

    Simon Willison committed May 28, 2009
Commits on May 25, 2009
  1. Added aliases

    Simon Willison committed May 25, 2009
  2. Added help option

    Simon Willison committed May 25, 2009
  3. Change syntax to account for different types

    Simon Willison committed May 25, 2009
  4. Initial checkin, documenting the idea

    Simon Willison committed May 25, 2009
Something went wrong with that request. Please try again.