def __init__(self, params):
        # Add common options
        self.base_parser = argparse.ArgumentParser(add_help=False)
        self.base_parser.add_argument("-q", "--quiet", dest="quiet", action="store_true", help="Keep it quiet")
        self.base_parser.add_argument("-v", "--verbose", dest="verbose", action="store_true", help="Add verbosity")

        # Add AppVulnMS parser where several modes are possible
        self.parser = argparse.ArgumentParser()
        self.subparsers = self.parser.add_subparsers(dest="action", help="Choose mode")

        # Module mode (m)
        self.m_parser = self.subparsers.add_parser(
            "m", parents=[self.base_parser],
            usage=conf.appvulnms['module_mode_usage'],
            help="Interact with available modules",
            description="::: Interact with the available modules."
        )
        self.m_parser.add_argument("-l", "--list-modules", dest="list_modules",
                                   action="store_true", help="List available modules")
        self.m_parser.add_argument("module_name", action="store", nargs="?", help="Modules name")
        self.m_parser.add_argument('module_params', action="store",
                                   nargs=argparse.REMAINDER, help="Modules parameters")
Calculate distance of predicted CGIs to nearest non-coding transcript TSS
dataset/ETHPy150Open dorneanu/appvulnms/src/core/parser/ArgsParser.py/ArgsParser.__init__--crossover with--dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_proj007.py/getCGITSSDistance