tests/test.out
author Dmitriy Morozov <dmitriy@mrzv.org>
Sat, 29 May 2010 15:46:31 -0700
changeset 105 1ce5c137b3e5
parent 99 a77c4a82e836
permissions -rw-r--r--
Added the ability to provide a completer for arguments to options

usage: test.py <command> [options]

commands:

 simple  Just simple command to do nothing.
['test', 'ui']
test.py complex [-p] [--exit value] ...

That's more complex command indented to do something

    Let's try to do that (what?!)

options:

 -p --pass     don't run the command
    --exit     exit with supplied code (default: 0)
 -n --name     optional name
 -v --verbose  enable additional output
 -q --quiet    suppress output
 -h --help     display help