lrossett / centos / centpkg

Forked from centos/centpkg 3 years ago
Clone
b37d1c
import pyrpkg.cli
b37d1c
b37d1c
b37d1c
class CentPkgCli(pyrpkg.cli.cliClient):
b37d1c
    """
b37d1c
    Centos Package CLI client wrapper, inherits most of its
b37d1c
    behaviour from `pyrpkg.cli.cliClient`.
b37d1c
    """
b37d1c
    def __init__(self, config, name='centpkg'):
b37d1c
        """
b37d1c
        The main class constructor, it needs a dict with config data and a name
b37d1c
        which are passed to its RPKG patent class constructor.
b37d1c
b37d1c
        Name defaults to 'centpkg' if none is provided.
b37d1c
b37d1c
        :param config: dict
b37d1c
        :param name: str
b37d1c
        """
b37d1c
        super(CentPkgCli, self).__init__(config, name=name)