Example #1
0
 def __init__(self):
     RCTCliCommand.__init__(
         self,
         name="stat-cert",
         aliases=['sc'],
         shortdesc=_("Print certificate statistics and sizes"),
         primary=True)
    def __init__(self):
        RCTCliCommand.__init__(self, name="cat-cert", aliases=['cc'],
                               shortdesc=_("Print certificate information"),
                               primary=True)

        self.parser.add_option("--no-products", dest="no_products", action="store_true",
                               help=_("do not show the cert's product information"))
        self.parser.add_option("--no-content", dest="no_content", action="store_true",
                               help=_("do not show the cert's content info"))
Example #3
0
 def __init__(self,
              name="cli",
              aliases=None,
              shortdesc=None,
              primary=False):
     RCTCliCommand.__init__(self,
                            name=name,
                            aliases=aliases,
                            shortdesc=shortdesc,
                            primary=primary)
Example #4
0
    def __init__(self):
        RCTCliCommand.__init__(self,
                               name="cat-cert",
                               aliases=['cc'],
                               shortdesc=_("Print certificate information"),
                               primary=True)

        self.parser.add_option(
            "--no-products",
            dest="no_products",
            action="store_true",
            help=_("do not show the cert's product information"))
        self.parser.add_option("--no-content",
                               dest="no_content",
                               action="store_true",
                               help=_("do not show the cert's content info"))
 def __init__(self):
     RCTCliCommand.__init__(self, name="stat-cert", aliases=['sc'],
                            shortdesc=_("Print certificate statistics and sizes"),
                            primary=True)
 def __init__(self, name="cli", aliases=None, shortdesc=None, primary=False):
     RCTCliCommand.__init__(self, name=name, aliases=aliases,
             shortdesc=shortdesc, primary=primary)