Did I find the right examples for you? yes no

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/p/r/progtools-0.2.2/progtools/command.py   progtools(Download)
                self._display_help(args[0])
        else:
            raise errors.UsageError()
 
    def _list_commands(self):
        command = registry.get_command(command_name)
    except KeyError:
        raise errors.UsageError("Command '%s' does not exist" % command_name)
    else:
        return command.run_with_argv(argv, parser=parser)

src/p/r/progtools-0.2.2/progtools/__init__.py   progtools(Download)
 
# Import globals
from progtools.errors import UsageError
from progtools.path import expandpath, open_input_file, open_output_file
from progtools.program import get_program_name, status, \