def register_delete_command(self, delete_func):
        """
        Add 'delete' command delete a project from the remote store.
        :param delete_func: function: run when user choses this option.
        """
        description = "Permanently delete a project."
        delete_parser = self.subparsers.add_parser('delete', description=description)
        add_project_name_or_id_arg(delete_parser, help_text_suffix="delete")
        _add_force_arg(delete_parser, "Do not prompt before deleting.")
        delete_parser.set_defaults(func=delete_func)