class User(object):

    def __init__(self, username=None, password=None):
        self.username = username
self.password = password

@click.group()
@click.option('--username', default='Naomi McName', help='Username')
@click.option('--password', default='b3$tP@sswerdEvar', help='Password')
@click.pass_context
def main(ctx, username, password):
    ctx.obj = User(username, password)
How do I pass variables to other methods using Python's click (Command Line Interface Creation Kit) package