<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, settings, app):
 """Manage Morp application services"""

    if app is None and settings is None:
        print('Either --app or --settings must be supplied')
    ctx.ensure_object(dict)
    ctx.obj['app'] = app
    ctx.obj['settings'] = settings