Exemple #1
0
def menu():
    ascii_menu("Queue Management", [('all start', all_start),
                                    ('all stop', all_stop),
                                    ('rabbit start', rabbit_start),
                                    ('celery start', celery_start),
                                    ('rabbit stop', rabbit_stop),
                                    ('celery stop', celery_stop),
                                    ('mongo start', mongo_start)])
Exemple #2
0
def menu():
    ascii_menu("Queue Management",
               [('all start', all_start),
                ('all stop', all_stop),
                ('rabbit start', rabbit_start),
                ('celery start', celery_start),
                ('rabbit stop', rabbit_stop),
                ('celery stop', celery_stop),
                ('mongo start', mongo_start)
                ])
Exemple #3
0
def menu():
    """open a menu to start some commands with an ascii menu"""
    ascii_menu("RabbitMQ", menu_list)
Exemple #4
0
def menu():
    ascii_menu("Queue Management",
               [('start rabitmq', rabbit_start),
                ('start celery', celery_start)
                ])
Exemple #5
0
def menu():
    """open a menu to start some commands with an ascii menu"""
    ascii_menu("RabbitMQ", menu_list)
Exemple #6
0
def menu():
    ascii_menu("Queue Management", [('start rabitmq', rabbit_start),
                                    ('start celery', celery_start)])