kojismokydingo.standalone.builds

Koji Smoky Dingo - Standalone build commands

author:

Christopher O'Brien <obriencj@gmail.com>

licence:

GPL v3

class LonelyFilterBuilds(name=None)[source]

Bases: AnonLonelyDingo, FilterBuilds

Adapter to make the FilterBuilds command into a LonelyDingo.

Parameters:

name -- The name that this command is being represented as

arguments(parser)[source]

Override to add relevant arguments to the given parser instance. May return an alternative parser instance or None.

Parameters:

parser -- the parser to decorate with additional arguments

sifter_arguments(parser)[source]

Adds an argument group for for loading a Sifter from either an text argument or a filename, and specifying output files for the expected flags from that Sifter's results.

  • --output/-o FLAG:FILENAME[,...]

  • --filter FILTER

  • --filter-file FILTER_FILE

validate(parser, options)[source]

Override to perform validation on options values. Return value is ignored, use parser.error if needed.

ksd_filter_builds(name=None, args=None)
Parameters:
Return type:

int