The BaseStrategy

Contents:

The BaseStrategy

This is a holder of sub-commands for the arguments. Its main purpose is to provide the QuarterMaster and Ape-plugin, since one or both is being used by various sub-commands.

Class Model

BaseStrategy o- QuarterMaster
BaseStrategy o- TheApe
BaseStrategy --|> BaseClass

The Errors

There are two kinds of exceptions caught which produce two error-messages:

Error Messages
Exception Message Meaning
Exception Oops, I Crapped My Pants Something unexpected happened – this indicates a problem with the code
KeyboardInterrupt Oh, I am slain User killed the runtime for some reason – clean-up and then close

The API

The decorator (try_except) around most of these methods is blocking the docstrings. Follow the links to the source code to see what they do.

UbootKommandant
UbootKommandant.handle_help
UbootKommandant.run
UbootKommandant.fetch
UbootKommandant.list_plugins
UbootKommandant.check
UbootKommandant.clean_up

Supporting Code

These are used within the UbootKommandant.