'Return a 5-tuple of passed in values for (course_key, user, org, course, run).'

def parse_args(self, *args):

    if (len(args) < 2):
        raise CommandError('migrate_to_split    requires    at    least    two    arguments:    a    course_key    and    a    user    identifier    (email    or    ID)')
    try:
        course_key = CourseKey.from_string(args[0])
    except InvalidKeyError:
        raise CommandError('Invalid    location    string')
    try:
        user = user_from_str(args[1])
    except User.DoesNotExist:
        raise CommandError('No    user    found    identified    by    {}'.format(args[1]))
    org = course = run = None
    try:
        org = args[2]
        course = args[3]
        run = args[4]
    except IndexError:
        pass
    return (course_key, user.id, org, course, run)
