Function loginFromCliForCourse

  • Log in interactively in the terminal for a specific course.

    Parameters

    • opts: Partial<LoginFromCliWithCourseOptions> = {}

      The options to login to a specific course.

    Returns Promise<Apiv2>

    A promise that resolves with a client that can be used to send requests to CodeGrade's APIv2 endpoints for the given course.