def commandlineargs(self):
        """Obtain a string of all parameters, using the paramater flags they were defined with, in order to pass to an external command. This is shell-safe by definition."""
        commandlineargs = []
        for parametergroup, parameters in self.parameters: #pylint: disable=unused-variable
            for parameter in parameters:
                p = parameter.compilearg()
                if p:
                    commandlineargs.append(p)
        return " ".join(commandlineargs)
def commandlineargs ( self ) : commandlineargs = [ ] for parametergroup , parameters in self . parameters : for parameter in parameters : p = parameter . compilearg ( ) if p : commandlineargs . append ( p ) return " " . join ( commandlineargs )
Obtain a string of all parameters, using the paramater flags they were defined with, in order to pass to an external command. This is shell-safe by definition.