def get_parser(self, prog_name): parser = super(JobsPemsGrant, self).get_parser(prog_name) parser = JobsUUID.extend_parser(self, parser) parser = Username.extend_parser(self, parser) parser.add_argument('permission', metavar='<permission>', choices=Permission.NAMES, help='Permission string ({0})'.format('| '.join( Permission.NAMES))) return parser
def get_parser(self, prog_name): parser = super(FilesPemsGrant, self).get_parser(prog_name) parser = AgaveURI.extend_parser(self, parser) parser = Username.extend_parser(self, parser) parser.add_argument('permission', metavar='PERMISSION', choices=Permission.NAMES, help='Permission string ({0})'.format('| '.join( Permission.NAMES))) return parser
def get_parser(self, prog_name): parser = super(ActorsPemsGrant, self).get_parser(prog_name) parser = ActorIdentifier().extend_parser(parser) parser = Username().extend_parser(parser) parser.add_argument('permission', metavar='PERMISSION', choices=AbacoPermission.NAMES, help='Permission name ({0})'.format('| '.join( AbacoPermission.NAMES))) return parser
def get_parser(self, prog_name): parser = super(SystemsRolesGrant, self).get_parser(prog_name) parser = ServiceIdentifier.extend_parser(self, parser) parser = Username.extend_parser(self, parser) parser.add_argument('role', type=str, metavar='ROLE', choices=SystemRole.NAMES, help='Role ({0})'.format('| '.join( SystemRole.NAMES))) return parser
def get_parser(self, prog_name): parser = super(JobsPemsShow, self).get_parser(prog_name) parser = JobsUUID.extend_parser(self, parser) parser = Username.extend_parser(self, parser) return parser
def get_parser(self, prog_name): parser = super(MetadataPemsShow, self).get_parser(prog_name) parser = MetadataUUID.extend_parser(self, parser) parser = Username.extend_parser(self, parser) return parser
def get_parser(self, prog_name): parser = super(AppsPemsShow, self).get_parser(prog_name) parser = AppIdentifier.extend_parser(self, parser) parser = Username.extend_parser(self, parser) return parser
def get_parser(self, prog_name): parser = super(SystemsRolesShow, self).get_parser(prog_name) parser = ServiceIdentifier.extend_parser(self, parser) parser = Username.extend_parser(self, parser) return parser
def get_parser(self, prog_name): parser = super(ActorsPemsShow, self).get_parser(prog_name) parser = ActorIdentifier().extend_parser(parser) parser = Username().extend_parser(parser) return parser
def get_parser(self, prog_name): parser = super(FilesPemsRevoke, self).get_parser(prog_name) parser = AgaveURI.extend_parser(self, parser) parser = Username.extend_parser(self, parser) return parser
def get_parser(self, prog_name): parser = super(ProfilesShow, self).get_parser(prog_name) parser = Username.extend_parser(self, parser) return parser