<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def cli(ctx, profile, region, lambda_fn, config, debug):
 """ cruddy is a CLI interface to the cruddy handler. It can be used in one of two ways. First, you can pass in a ``--config`` option which is a JSON file containing all of your cruddy parameters and the CLI will create a cruddy handler to manipulate the DynamoDB table directly. Alternatively, you can pass in a ``--lambda-fn`` option which is the name of an AWS Lambda function which contains a cruddy handler. In this case the CLI will call the Lambda function to make the changes in the underlying DynamoDB table. """

    ctx.obj = CLIHandler(profile, region, lambda_fn, config, debug)