lrossett / centos / centpkg

Forked from centos/centpkg 2 years ago
Blob Blame History Raw
import pyrpkg.cli

class CentPkgCli(pyrpkg.cli.cliClient):
    Centos Package CLI client wrapper, inherits most of its
    behaviour from `pyrpkg.cli.cliClient`.
    def __init__(self, config, name='centpkg'):
        The main class constructor, it needs a dict with config data and a name
        which are passed to its RPKG patent class constructor.

        Name defaults to 'centpkg' if none is provided.

        :param config: dict
        :param name: str
        super(CentPkgCli, self).__init__(config, name=name)