Table of Contents

Class: AbstractInterpreter ./src/peak/running/commands.py

Creates and runs a subcommand by interpreting 'argv[1]'

Base Classes   
AbstractCommand
    binding.Component
Methods   
__call__
_run
getSubcommand
interpret
  __call__ 
__call__ (
        klass,
        *__args,
        *__kw,
        )

(Meta)class method: try to return the interpreted subcommand

Exceptions   
InvocationError( "missing argument(s)" )
  _run 
_run ( self )

Interpret argv[1] and run it as a subcommand

Exceptions   
InvocationError( "missing argument(s)" )
  getSubcommand 
getSubcommand (
        self,
        executable,
        **kw,
        )

Same as for AbstractCommand, but with shifted argv

  interpret 
interpret ( self,  argument )

Interpret the argument and return a subcommand object

Exceptions   
NotImplementedError

Table of Contents

This document was automatically generated on Mon Apr 15 01:11:03 2024 by HappyDoc version 2.1