OSFI-Python
3.10.0
OpenSF Integration Library
|
Public Member Functions | |
def | __init__ (self, xmlFile) |
def | getUsage (self) |
This class is responsible to read a XML file showing the usage instructions of a certain executable in case the Command Line Arguments Parser (CLP) detects a failure in the executable invocation.
def OSFI.UsageReader.UsageReader.__init__ | ( | self, | |
xmlFile | |||
) |
Class constructor. @param xmlFile Location of the XML file with the usage description. @throws exception if an error occurred while parsing the file
References OSFI.UsageReader.UsageReader.__usage.
def OSFI.UsageReader.UsageReader.getUsage | ( | self | ) |
Returns a string with the usage description.
References OSFI.UsageReader.UsageReader.__usage.