def addArguments(self): PluginBase.addArguments(self) self.parser.add_argument( "-d", "--remove-Dashes", dest="removeDashes", action="store_true", help="Remove dashboards associated with the plugin", ) self.parser.add_argument( "-r", "--remove-Metrics", dest="removeMetrics", action="store_true", help="Remove metrics associated with the plugin", )
def addArguments(self): PluginBase.addArguments(self) self.parser.add_argument('-o', '--organization-name', dest='organizationName', action='store', required=True, metavar="organization_name", help='Name of the github user or organization') self.parser.add_argument('-r', '--repository-name', dest='repositoryName', action='store', required=True, metavar="respository_name", help='Name of the github repository')