def run(self, args):
        """
        Lists project names.
        :param args Namespace arguments parsed from the command line
        """
        long_format = args.long_format
        # project_name and auth_role args are mutually exclusive
        if args.project_name or args.project_id:
            project = self.fetch_project(args, must_exist=True, include_children=True)
            self.print_project_details(project, long_format)
        else:
            self.print_project_list_details(args.auth_role, long_format)
def run ( self , args ) : long_format = args . long_format if args . project_name or args . project_id : project = self . fetch_project ( args , must_exist = True , include_children = True ) self . print_project_details ( project , long_format ) else : self . print_project_list_details ( args . auth_role , long_format )
Lists project names.
        :param args Namespace arguments parsed from the command line