vaultmanager/modules/VaultManagerAuth.py
def initialize_subparser(self, subparsers):
        """
        Add the subparser of this specific module to the list of all subparsers

        :param subparsers: list of all subparsers
        :type subparsers: argparse.ArgumentParser.add_subparsers()
        :return:
        """
        self.logger.debug("Initializing subparser")
        self.module_name = \
            self.__class__.__name__.replace("VaultManager", "").lower()
        self.subparser = subparsers.add_parser(
            self.module_name,
            help=self.module_name + ' management'
        )
        self.subparser.add_argument("--push", action='store_true',
                                    help="Push auth methods to Vault")
        self.subparser.set_defaults(module_name=self.module_name)

        Add the subparser of this specific module to the list of all subparsers

        :param subparsers: list of all subparsers
        :type subparsers: argparse.ArgumentParser.add_subparsers()
        :return:
        
Add the subparser of this specific module to the list of all subparsers
Add the subparser of this specific module to the list of all subparsers
def initialize_subparser(self, subparsers):
        self.logger.debug("Initializing subparser")
        self.module_name = \
            self.__class__.__name__.replace("VaultManager", "").lower()
        self.subparser = subparsers.add_parser(
            self.module_name,
            help=self.module_name + ' management'
        )
        self.subparser.add_argument("--push", action='store_true',
                                    help="Push auth methods to Vault")
        self.subparser.set_defaults(module_name=self.module_name)
def initialize_subparser ( self , subparsers ) : self . logger . debug ( "Initializing subparser" ) self . module_name = self . __class__ . __name__ . replace ( "VaultManager" , "" ) . lower ( ) self . subparser = subparsers . add_parser ( self . module_name , help = self . module_name + ' management' ) self . subparser . add_argument ( "--push" , action = 'store_true' , help = "Push auth methods to Vault" ) self . subparser . set_defaults ( module_name = self . module_name )
Add the subparser of this specific module to the list of all subparsers
Add the subparser of this specific module to the list of all subparsers
"""
        Add the subparser of this specific module to the list of all subparsers

        :param subparsers: list of all subparsers
        :type subparsers: argparse.ArgumentParser.add_subparsers()
        :return:
        """
None
self
subparsers
list of all subparsers
list of all subparsers