@task(aliases=['mongoshell'])
def mongoclient(ctx):
 db = settings.DB_NAME
 port = settings.DB_PORT
 ctx.run('mongo {db} --port {port}'.format(db=db, port=port), pty=True)

@ task ( aliases = [ 'mongoshell' ] ) def mongoclient ( ctx ) : db = settings . DB_NAME port = settings . DB_PORT ctx . run ( 'mongo {db} --port {port}' . format ( db = db , port = port ) , pty = True )
run the mongo shell for the osf database .