@utils.arg('--host', dest='host', metavar='<host>', help=_('Fetch migrations for the given host.'))
@utils.arg('--status', dest='status', metavar='<status>', help=_('Fetch migrations for the given status.'))
@utils.arg('--cell_name', dest='cell_name', metavar='<cell_name>', help=_('Fetch migrations for the given cell_name.'))
def do_migration_list(cs, args):
 migrations = cs.migrations.list(args.host, args.status, args.cell_name)
 _print_migrations(cs, migrations)

@ utils . arg ( '--host' , dest = 'host' , metavar = '<host>' , help = _ ( 'Fetch migrations for the given host.' ) ) @ utils . arg ( '--status' , dest = 'status' , metavar = '<status>' , help = _ ( 'Fetch migrations for the given status.' ) ) @ utils . arg ( '--cell_name' , dest = 'cell_name' , metavar = '<cell_name>' , help = _ ( 'Fetch migrations for the given cell_name.' ) ) def do_migration_list ( cs , args ) : migrations = cs . migrations . list ( args . host , args . status , args . cell_name ) _print_migrations ( cs , migrations )
print a list of migrations .