Constructs zsh code that will complete options for a given usage.Options instance, and also for a single sub-command. This will only be used in the case where the user is completing options for a specific subcommand.

Instance Variable subOptions The twisted.python.usage.Options instance defined for the sub command. (type: twisted.python.usage.Options)
Method __init__ Undocumented
Method write Generate the completion function and write it to the output file @return: None

Inherited from ZshBuilder:

Instance Variable options The twisted.python.usage.Options instance defined for this command. (type: twisted.python.usage.Options)
Instance Variable cmdName The name of the command we're generating completions for. (type: str)
Instance Variable file The file to write the completion function to. The file must have bytes I/O semantics. (type: file)
subOptions =
The twisted.python.usage.Options instance defined for the sub command. (type: twisted.python.usage.Options)
def __init__(self, subOptions, *args):
def write(self):

Generate the completion function and write it to the output file

ReturnsNone
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.